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.
438 Printf("Stats: SizeClassAllocator64: %zdM mapped in %zd allocations; "
518 uptr n_allocated, n_freed; // Just stats.
1073 CHECK_LT(size_log, ARRAY_SIZE(stats.by_size_log));
1081 stats.n_allocs++;
1082 stats.currently_allocated += map_size;
1083 stats.max_allocated = Max(stats.max_allocated, stats.currently_allocated);
1084 stats.by_size_log[size_log]++;
1112 stats.n_frees++;
1113 stats.currently_allocated -= h->map_size;
1216 Printf("Stats: LargeMmapAllocator: allocated %zd times, "
1218 stats.n_allocs, stats.n_allocs - stats.n_frees,
1219 stats.currently_allocated >> 10, stats.max_allocated >> 20);
1220 for (uptr i = 0; i < ARRAY_SIZE(stats.by_size_log); i++) {
1221 uptr c = stats.by_size_log[i];
1276 struct Stats {
1278 } stats;