Lines Matching refs:Stats
208 // Per-thread stats, live in per-thread cache.
241 // Global stats, used for aggregation and querying.
272 const AllocatorStats *stats = this;
275 s[i] += stats->Get(AllocatorStat(i));
276 stats = stats->next_;
277 if (stats == this)
280 // All stats must be non-negative.
423 Printf("Stats: SizeClassAllocator64: %zdM mapped in %zd allocations; "
498 uptr n_allocated, n_freed; // Just stats.
1049 CHECK_LT(size_log, ARRAY_SIZE(stats.by_size_log));
1057 stats.n_allocs++;
1058 stats.currently_allocated += map_size;
1059 stats.max_allocated = Max(stats.max_allocated, stats.currently_allocated);
1060 stats.by_size_log[size_log]++;
1088 stats.n_frees++;
1089 stats.currently_allocated -= h->map_size;
1192 Printf("Stats: LargeMmapAllocator: allocated %zd times, "
1194 stats.n_allocs, stats.n_allocs - stats.n_frees,
1195 stats.currently_allocated >> 10, stats.max_allocated >> 20);
1196 for (uptr i = 0; i < ARRAY_SIZE(stats.by_size_log); i++) {
1197 uptr c = stats.by_size_log[i];
1252 struct Stats {
1254 } stats;