mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 15:26:17 +02:00
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()
|
||||
{
|
||||
bool showStats = getEnv("NIX_SHOW_STATS", "0") != "0";
|
||||
|
|
|
@ -276,7 +276,6 @@ public:
|
|||
|
||||
/* Print statistics. */
|
||||
void printStats();
|
||||
void printStats2();
|
||||
|
||||
void realiseContext(const PathSet & context);
|
||||
|
||||
|
|
Loading…
Reference in a new issue