about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorFrank Busse <bb0xfb@gmail.com>2020-03-19 18:38:33 +0000
committerCristian Cadar <c.cadar@imperial.ac.uk>2020-04-08 10:13:20 +0100
commitbb933726973a7fbdbc59953dfe7ca4cfc242e971 (patch)
tree59d7f055fc1df0be99b813a3def51d4997d79030
parentfd1200a9ac4b3ea17f20c52ac1b7e5d549edbae1 (diff)
downloadklee-bb933726973a7fbdbc59953dfe7ca4cfc242e971.tar.gz
stats: rename QueriesConstructs to QueryConstructs
-rw-r--r--lib/Solver/SolverStats.cpp2
-rw-r--r--tools/kleaver/main.cpp12
-rw-r--r--tools/klee/main.cpp2
3 files changed, 8 insertions, 8 deletions
diff --git a/lib/Solver/SolverStats.cpp b/lib/Solver/SolverStats.cpp
index f4ad5192..40f0d53f 100644
--- a/lib/Solver/SolverStats.cpp
+++ b/lib/Solver/SolverStats.cpp
@@ -19,7 +19,7 @@ Statistic stats::queryCacheHits("QueryCacheHits", "QChits") ;
 Statistic stats::queryCacheMisses("QueryCacheMisses", "QCmisses");
 Statistic stats::queryCexCacheHits("QueryCexCacheHits", "QCexHits") ;
 Statistic stats::queryCexCacheMisses("QueryCexCacheMisses", "QCexMisses");
-Statistic stats::queryConstructs("QueriesConstructs", "QB");
+Statistic stats::queryConstructs("QueryConstructs", "QB");
 Statistic stats::queryCounterexamples("QueriesCEX", "Qcex");
 Statistic stats::queryTime("QueryTime", "Qtime");
 
diff --git a/tools/kleaver/main.cpp b/tools/kleaver/main.cpp
index 70b51208..7e44a70a 100644
--- a/tools/kleaver/main.cpp
+++ b/tools/kleaver/main.cpp
@@ -302,15 +302,15 @@ static bool EvaluateInputAST(const char *Filename,
   if (uint64_t queries = *theStatisticManager->getStatisticByName("Queries")) {
     llvm::outs()
       << "--\n"
-      << "total queries = " << queries << "\n"
-      << "total queries constructs = " 
-      << *theStatisticManager->getStatisticByName("QueriesConstructs") << "\n"
+      << "total queries = " << queries << '\n'
+      << "total query constructs = "
+      << *theStatisticManager->getStatisticByName("QueryConstructs") << '\n'
       << "valid queries = " 
-      << *theStatisticManager->getStatisticByName("QueriesValid") << "\n"
+      << *theStatisticManager->getStatisticByName("QueriesValid") << '\n'
       << "invalid queries = " 
-      << *theStatisticManager->getStatisticByName("QueriesInvalid") << "\n"
+      << *theStatisticManager->getStatisticByName("QueriesInvalid") << '\n'
       << "query cex = " 
-      << *theStatisticManager->getStatisticByName("QueriesCEX") << "\n";
+      << *theStatisticManager->getStatisticByName("QueriesCEX") << '\n';
   }
 
   return success;
diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp
index 796956dc..197ed6cf 100644
--- a/tools/klee/main.cpp
+++ b/tools/klee/main.cpp
@@ -1518,7 +1518,7 @@ int main(int argc, char **argv, char **envp) {
   uint64_t queryCounterexamples =
     *theStatisticManager->getStatisticByName("QueriesCEX");
   uint64_t queryConstructs =
-    *theStatisticManager->getStatisticByName("QueriesConstructs");
+    *theStatisticManager->getStatisticByName("QueryConstructs");
   uint64_t instructions =
     *theStatisticManager->getStatisticByName("Instructions");
   uint64_t forks =