Lines Matching refs:ctl_stats
23 static ctl_stats_t *ctl_stats; variable
916 background_thread_stats_t *stats = &ctl_stats->background_thread; in ctl_background_thread_stats_read()
952 ctl_stats->allocated = ctl_sarena->astats->allocated_small + in ctl_refresh()
955 ctl_stats->active = (ctl_sarena->pactive << LG_PAGE); in ctl_refresh()
956 ctl_stats->metadata = atomic_load_zu( in ctl_refresh()
960 ctl_stats->metadata_thp = atomic_load_zu( in ctl_refresh()
962 ctl_stats->resident = atomic_load_zu( in ctl_refresh()
964 ctl_stats->mapped = atomic_load_zu( in ctl_refresh()
966 ctl_stats->retained = atomic_load_zu( in ctl_refresh()
973 malloc_mutex_prof_read(tsdn, &ctl_stats->mutex_prof_data[i], &mtx); \ in ctl_refresh()
985 memset(&ctl_stats->mutex_prof_data[ in ctl_refresh()
991 &ctl_stats->mutex_prof_data[global_prof_mutex_ctl], in ctl_refresh()
1021 if (config_stats && ctl_stats == NULL) { in ctl_init()
1022 ctl_stats = (ctl_stats_t *)base_alloc(tsdn, b0get(), in ctl_init()
1024 if (ctl_stats == NULL) { in ctl_init()
2638 CTL_RO_CGEN(config_stats, stats_allocated, ctl_stats->allocated, size_t) in CTL_RO_NL_CGEN()
2639 CTL_RO_CGEN(config_stats, stats_active, ctl_stats->active, size_t) in CTL_RO_NL_CGEN()
2640 CTL_RO_CGEN(config_stats, stats_metadata, ctl_stats->metadata, size_t) in CTL_RO_NL_CGEN()
2641 CTL_RO_CGEN(config_stats, stats_metadata_thp, ctl_stats->metadata_thp, size_t) in CTL_RO_NL_CGEN()
2642 CTL_RO_CGEN(config_stats, stats_resident, ctl_stats->resident, size_t) in CTL_RO_NL_CGEN()
2643 CTL_RO_CGEN(config_stats, stats_mapped, ctl_stats->mapped, size_t) in CTL_RO_NL_CGEN()
2644 CTL_RO_CGEN(config_stats, stats_retained, ctl_stats->retained, size_t) in CTL_RO_NL_CGEN()
2647 ctl_stats->background_thread.num_threads, size_t) in CTL_RO_NL_CGEN()
2649 ctl_stats->background_thread.num_runs, uint64_t) in CTL_RO_NL_CGEN()
2651 nstime_ns(&ctl_stats->background_thread.run_interval), uint64_t) in CTL_RO_NL_CGEN()
2751 ctl_stats->mutex_prof_data[global_prof_mutex_##mtx]) in CTL_RO_NL_CGEN()