Changeset View
Changeset View
Standalone View
Standalone View
head/contrib/jemalloc/include/jemalloc/internal/stats.h
#ifndef JEMALLOC_INTERNAL_STATS_H | #ifndef JEMALLOC_INTERNAL_STATS_H | ||||
#define JEMALLOC_INTERNAL_STATS_H | #define JEMALLOC_INTERNAL_STATS_H | ||||
/* OPTION(opt, var_name, default, set_value_to) */ | /* OPTION(opt, var_name, default, set_value_to) */ | ||||
#define STATS_PRINT_OPTIONS \ | #define STATS_PRINT_OPTIONS \ | ||||
OPTION('J', json, false, true) \ | OPTION('J', json, false, true) \ | ||||
OPTION('g', general, true, false) \ | OPTION('g', general, true, false) \ | ||||
OPTION('m', merged, config_stats, false) \ | OPTION('m', merged, config_stats, false) \ | ||||
OPTION('d', destroyed, config_stats, false) \ | OPTION('d', destroyed, config_stats, false) \ | ||||
OPTION('a', unmerged, config_stats, false) \ | OPTION('a', unmerged, config_stats, false) \ | ||||
OPTION('b', bins, true, false) \ | OPTION('b', bins, true, false) \ | ||||
OPTION('l', large, true, false) \ | OPTION('l', large, true, false) \ | ||||
OPTION('x', mutex, true, false) | OPTION('x', mutex, true, false) \ | ||||
OPTION('e', extents, true, false) | |||||
enum { | enum { | ||||
#define OPTION(o, v, d, s) stats_print_option_num_##v, | #define OPTION(o, v, d, s) stats_print_option_num_##v, | ||||
STATS_PRINT_OPTIONS | STATS_PRINT_OPTIONS | ||||
#undef OPTION | #undef OPTION | ||||
stats_print_tot_num_options | stats_print_tot_num_options | ||||
}; | }; | ||||
Show All 9 Lines |