parent
							
								
									aa64e95bc8
								
							
						
					
					
						commit
						875cd9da2b
					
				
					 2 changed files with 0 additions and 15 deletions
				
			
		|  | @ -1720,20 +1720,6 @@ bool EvalState::eqValues(Value & v1, Value & v2) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| void EvalState::printStats2() |  | ||||||
| { |  | ||||||
|     struct rusage ru; |  | ||||||
|     getrusage(RUSAGE_SELF, &ru); |  | ||||||
| 
 |  | ||||||
|     GC_prof_stats_s gc; |  | ||||||
|     GC_get_prof_stats(&gc, sizeof(gc)); |  | ||||||
| 
 |  | ||||||
|     printError("STATS %d %d %d %d %d %d", |  | ||||||
|         nrValues, nrValuesFreed.load(), nrValues - nrValuesFreed, |  | ||||||
|         ru.ru_maxrss, |  | ||||||
|         gc.heapsize_full, gc.free_bytes_full); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| void EvalState::printStats() | void EvalState::printStats() | ||||||
| { | { | ||||||
|     bool showStats = getEnv("NIX_SHOW_STATS", "0") != "0"; |     bool showStats = getEnv("NIX_SHOW_STATS", "0") != "0"; | ||||||
|  |  | ||||||
|  | @ -276,7 +276,6 @@ public: | ||||||
| 
 | 
 | ||||||
|     /* Print statistics. */ |     /* Print statistics. */ | ||||||
|     void printStats(); |     void printStats(); | ||||||
|     void printStats2(); |  | ||||||
| 
 | 
 | ||||||
|     void realiseContext(const PathSet & context); |     void realiseContext(const PathSet & context); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue