diff options
author | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2011-02-26 05:40:55 +0000 |
---|---|---|
committer | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2011-02-26 05:40:55 +0000 |
commit | 03a1f6a890027fa11cb0b00713757bc115debeb4 (patch) | |
tree | 70e22e01967911ced232593e692ea134769e84aa /src/expr/expr_manager_template.h | |
parent | 616a0b85d1abd20f173890025585c640525f07cc (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.h | 4 |
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. |