Don't require NIX_SHOW_STATS for NIX_COUNT_CALLS
This commit is contained in:
		
							parent
							
								
									fe95650487
								
							
						
					
					
						commit
						543d8a5942
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue