summaryrefslogtreecommitdiff
path: root/src/expr/expr_manager_template.h
diff options
context:
space:
mode:
authorDejan Jovanović <dejan.jovanovic@gmail.com>2011-02-26 05:40:55 +0000
committerDejan Jovanović <dejan.jovanovic@gmail.com>2011-02-26 05:40:55 +0000
commit03a1f6a890027fa11cb0b00713757bc115debeb4 (patch)
tree70e22e01967911ced232593e692ea134769e84aa /src/expr/expr_manager_template.h
parent616a0b85d1abd20f173890025585c640525f07cc (diff)
adding statistics about how many different kinds of expressions we have created in the expression manager.
this is useful, for example, with --parse-only, to figure out a bit of problem structure
Diffstat (limited to 'src/expr/expr_manager_template.h')
-rw-r--r--src/expr/expr_manager_template.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/expr/expr_manager_template.h b/src/expr/expr_manager_template.h
index e5df3ced3..1bb9fd9fd 100644
--- a/src/expr/expr_manager_template.h
+++ b/src/expr/expr_manager_template.h
@@ -41,6 +41,7 @@ class Expr;
class SmtEngine;
class NodeManager;
class Options;
+class IntStat;
namespace context {
class Context;
@@ -54,6 +55,9 @@ private:
/** The internal node manager */
NodeManager* d_nodeManager;
+ /** Counts of expressions created of a given kind */
+ IntStat* d_exprStatistics[kind::LAST_KIND];
+
/**
* Returns the internal node manager. This should only be used by
* internal users, i.e. the friend classes.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback