Don't require NIX_SHOW_STATS for NIX_COUNT_CALLS

This commit is contained in:
Eelco Dolstra 2013-10-24 02:20:54 +02:00
parent fe95650487
commit 543d8a5942

View file

@ -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_;