summaryrefslogtreecommitdiff
path: root/src/theory/idl
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/idl
parent3ba7ed6b1b09739385ae2ffb77a5c7ccd18b40a5 (diff)
New, uniform checkTime statistic for all theories (as discussed in meeting).
Diffstat (limited to 'src/theory/idl')
-rw-r--r--src/theory/idl/theory_idl.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/theory/idl/theory_idl.cpp b/src/theory/idl/theory_idl.cpp
index 9e402f430..55dec35e9 100644
--- a/src/theory/idl/theory_idl.cpp
+++ b/src/theory/idl/theory_idl.cpp
@@ -49,10 +49,11 @@ Node TheoryIdl::ppRewrite(TNode atom) {
}
void TheoryIdl::check(Effort level) {
- //// Not needed for now, as no code outside while() loop below.
- // if (done() && !fullEffort(e)) {
- // return;
- // }
+ if (done() && !fullEffort(level)) {
+ return;
+ }
+
+ TimerStat::CodeTimer checkTimer(d_checkTime);
while(!done()) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback