1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 00:11:17 +02:00

Add some more evaluations stats

This commit is contained in:
Eelco Dolstra 2012-08-12 23:41:48 -04:00
parent e82767910c
commit 62f72eb9e1
2 changed files with 12 additions and 1 deletions

View file

@ -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);
};