| 475 | } |
| 476 | |
| 477 | void 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 | |
| 489 | void ThreadCache::PrintThreads(TCMalloc_Printer* out) { |
| 490 | size_t actual_limit = 0; |
no test coverage detected