summaryrefslogtreecommitdiff
path: root/src/theory/arrays/theory_arrays.cpp
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2014-11-12 19:42:23 -0500
committerMorgan Deters <mdeters@cs.nyu.edu>2014-11-17 16:21:40 -0500
commita64af5c3903cbe75214016aef4b5a3994256e6f8 (patch)
tree1d5d8ee15a53d2576cf61ffbbc3efb2aaf962f53 /src/theory/arrays/theory_arrays.cpp
parent3ba7ed6b1b09739385ae2ffb77a5c7ccd18b40a5 (diff)
New, uniform checkTime statistic for all theories (as discussed in meeting).
Diffstat (limited to 'src/theory/arrays/theory_arrays.cpp')
-rw-r--r--src/theory/arrays/theory_arrays.cpp5
1 files changed, 1 insertions, 4 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)
{
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback