diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-08-12 23:41:48 -0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-08-12 23:41:48 -0400 |
commit | 62f72eb9e1a4421a9d4ea3e06f467e49869c0e51 (patch) | |
tree | 50016862e9ca03ad8e669332c1d6d19a23941ad1 /src/libexpr/eval.hh | |
parent | e82767910c649f160d6701e47f606f3b8dde4b29 (diff) |
Add some more evaluations stats
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r-- | src/libexpr/eval.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index 540f1e200..4e66c4dfc 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -236,7 +236,7 @@ public: void printStats(); private: - + unsigned long nrEnvs; unsigned long nrValuesInEnvs; unsigned long nrValues; @@ -244,6 +244,9 @@ private: unsigned long nrAttrsets; unsigned long nrOpUpdates; unsigned long nrOpUpdateValuesCopied; + unsigned long nrListConcats; + unsigned long nrPrimOpCalls; + unsigned long nrFunctionCalls; bool countCalls; @@ -257,6 +260,7 @@ private: AttrSelects attrSelects; friend class ExprOpUpdate; + friend class ExprOpConcatLists; friend class ExprSelect; friend void prim_getAttr(EvalState & state, Value * * args, Value & v); }; |