Reduce footprint of bin_t.

Avoid storing mutex_prof_data_t in bin_t.  Added bin_stats_data_t which is used
for reporting bin stats.
This commit is contained in:
Qi Wang 2019-11-05 20:43:59 -08:00 committed by Qi Wang
parent cb1a1f4ada
commit 9a7ae3c97f
6 changed files with 54 additions and 57 deletions

View file

@ -42,7 +42,7 @@ typedef struct ctl_arena_stats_s {
uint64_t nfills_small;
uint64_t nflushes_small;
bin_stats_t bstats[SC_NBINS];
bin_stats_data_t bstats[SC_NBINS];
arena_stats_large_t lstats[SC_NSIZES - SC_NBINS];
arena_stats_extents_t estats[SC_NPSIZES];
} ctl_arena_stats_t;