about summary refs log tree commit diff homepage
path: root/lib/Core
diff options
context:
space:
mode:
authorDomenico Fabio Marino <nospamdomi@hotmail.it>2018-01-06 11:51:32 +0000
committerCristian Cadar <c.cadar@imperial.ac.uk>2018-03-01 16:24:17 +0000
commit4ec9b9ada1aeebf55286eafa6bb39d9ecc499c2f (patch)
treee57837ca60f035691bc34fdc5e3d358db9b1f13c /lib/Core
parentb96e0eac2fefa609b1e5d613986caa7c880185c3 (diff)
downloadklee-4ec9b9ada1aeebf55286eafa6bb39d9ecc499c2f.tar.gz
Store CexCache stats and then update klee-stats to use them
Signed-off-by: Domenico Fabio Marino <nospamdomi@hotmail.it>
Diffstat (limited to 'lib/Core')
-rw-r--r--lib/Core/StatsTracker.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Core/StatsTracker.cpp b/lib/Core/StatsTracker.cpp
index 6dc13df8..83e1844f 100644
--- a/lib/Core/StatsTracker.cpp
+++ b/lib/Core/StatsTracker.cpp
@@ -412,6 +412,8 @@ void StatsTracker::writeStatsHeader() {
              << "'CexCacheTime',"
              << "'ForkTime',"
              << "'ResolveTime',"
+             << "'QueryCexCacheMisses',"
+             << "'QueryCexCacheHits',"
 #ifdef DEBUG
 	     << "'ArrayHashTime',"
 #endif
@@ -442,6 +444,8 @@ void StatsTracker::writeStatsLine() {
              << "," << stats::cexCacheTime / 1000000.
              << "," << stats::forkTime / 1000000.
              << "," << stats::resolveTime / 1000000.
+             << "," << stats::queryCexCacheMisses
+             << "," << stats::queryCexCacheHits
 #ifdef DEBUG
              << "," << stats::arrayHashTime / 1000000.
 #endif