add arena stats

This commit is contained in:
Daan 2024-03-03 09:37:46 -08:00
parent cca3fc26b0
commit 027b22aaf2
6 changed files with 23 additions and 11 deletions

View file

@ -547,6 +547,9 @@ typedef struct mi_stats_s {
mi_stat_counter_t normal_count;
mi_stat_counter_t huge_count;
mi_stat_counter_t giant_count;
mi_stat_counter_t arena_count;
mi_stat_counter_t arena_crossover_count;
mi_stat_counter_t arena_rollback_count;
#if MI_STAT>1
mi_stat_count_t normal_bins[MI_BIN_HUGE+1];
#endif