MCPcopy Create free account
hub / github.com/devosoft/avida / Print

Method Print

libs/tcmalloc-1.4/src/thread_cache.cc:477–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475}
476
477void ThreadCache::Print(TCMalloc_Printer* out) const {
478 for (unsigned int cl = 0; cl < kNumClasses; ++cl) {
479 out->printf(" %5" PRIuS " : %4" PRIuS " len; %4d lo; %4"PRIuS
480 " max; %4"PRIuS" overages;\n",
481 Static::sizemap()->ByteSizeForClass(cl),
482 list_[cl].length(),
483 list_[cl].lowwatermark(),
484 list_[cl].max_length(),
485 list_[cl].length_overages());
486 }
487}
488
489void ThreadCache::PrintThreads(TCMalloc_Printer* out) {
490 size_t actual_limit = 0;

Callers 1

PrintThreadsMethod · 0.45

Calls 6

printfMethod · 0.80
ByteSizeForClassMethod · 0.80
lowwatermarkMethod · 0.80
max_lengthMethod · 0.80
length_overagesMethod · 0.80
lengthMethod · 0.45

Tested by

no test coverage detected