diff options
author | Morgan Deters <mdeters@cs.nyu.edu> | 2014-11-12 19:42:23 -0500 |
---|---|---|
committer | Morgan Deters <mdeters@cs.nyu.edu> | 2014-11-17 16:21:40 -0500 |
commit | a64af5c3903cbe75214016aef4b5a3994256e6f8 (patch) | |
tree | 1d5d8ee15a53d2576cf61ffbbc3efb2aaf962f53 /src/theory/arrays | |
parent | 3ba7ed6b1b09739385ae2ffb77a5c7ccd18b40a5 (diff) |
New, uniform checkTime statistic for all theories (as discussed in meeting).
Diffstat (limited to 'src/theory/arrays')
-rw-r--r-- | src/theory/arrays/theory_arrays.cpp | 5 | ||||
-rw-r--r-- | src/theory/arrays/theory_arrays.h | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/theory/arrays/theory_arrays.cpp b/src/theory/arrays/theory_arrays.cpp index 9a661ab0c..8b313e124 100644 --- a/src/theory/arrays/theory_arrays.cpp +++ b/src/theory/arrays/theory_arrays.cpp @@ -61,7 +61,6 @@ TheoryArrays::TheoryArrays(context::Context* c, context::UserContext* u, OutputC d_numGetModelValConflicts("theory::arrays::number of getModelVal conflicts", 0), d_numSetModelValSplits("theory::arrays::number of setModelVal splits", 0), d_numSetModelValConflicts("theory::arrays::number of setModelVal conflicts", 0), - d_checkTimer("theory::arrays::checkTime"), d_ppEqualityEngine(u, "theory::arrays::TheoryArraysPP"), d_ppFacts(u), // d_ppCache(u), @@ -103,7 +102,6 @@ TheoryArrays::TheoryArrays(context::Context* c, context::UserContext* u, OutputC StatisticsRegistry::registerStat(&d_numGetModelValConflicts); StatisticsRegistry::registerStat(&d_numSetModelValSplits); StatisticsRegistry::registerStat(&d_numSetModelValConflicts); - StatisticsRegistry::registerStat(&d_checkTimer); d_true = NodeManager::currentNM()->mkConst<bool>(true); d_false = NodeManager::currentNM()->mkConst<bool>(false); @@ -142,7 +140,6 @@ TheoryArrays::~TheoryArrays() { StatisticsRegistry::unregisterStat(&d_numGetModelValConflicts); StatisticsRegistry::unregisterStat(&d_numSetModelValSplits); StatisticsRegistry::unregisterStat(&d_numSetModelValConflicts); - StatisticsRegistry::unregisterStat(&d_checkTimer); } void TheoryArrays::setMasterEqualityEngine(eq::EqualityEngine* eq) { @@ -1034,7 +1031,7 @@ void TheoryArrays::check(Effort e) { if (done() && !fullEffort(e)) { return; } - TimerStat::CodeTimer codeTimer(d_checkTimer); + TimerStat::CodeTimer checkTimer(d_checkTime); while (!done() && !d_conflict) { diff --git a/src/theory/arrays/theory_arrays.h b/src/theory/arrays/theory_arrays.h index 371b00b0c..b2e039912 100644 --- a/src/theory/arrays/theory_arrays.h +++ b/src/theory/arrays/theory_arrays.h @@ -123,8 +123,6 @@ class TheoryArrays : public Theory { IntStat d_numSetModelValSplits; /** conflicts in setModelVal */ IntStat d_numSetModelValConflicts; - /** time spent in check() */ - TimerStat d_checkTimer; public: |