mirror of
https://github.com/NixOS/nix
synced 2024-09-19 23:03:53 -04:00
Don't require NIX_SHOW_STATS for NIX_COUNT_CALLS
This commit is contained in:
parent
fe95650487
commit
543d8a5942
|
@ -1275,6 +1275,7 @@ void EvalState::printStats()
|
||||||
printMsg(v, format(" number of function calls: %1%") % nrFunctionCalls);
|
printMsg(v, format(" number of function calls: %1%") % nrFunctionCalls);
|
||||||
|
|
||||||
if (countCalls) {
|
if (countCalls) {
|
||||||
|
v = lvlInfo;
|
||||||
|
|
||||||
printMsg(v, format("calls to %1% primops:") % primOpCalls.size());
|
printMsg(v, format("calls to %1% primops:") % primOpCalls.size());
|
||||||
typedef std::multimap<unsigned int, Symbol> PrimOpCalls_;
|
typedef std::multimap<unsigned int, Symbol> PrimOpCalls_;
|
||||||
|
|
Loading…
Reference in a new issue