Fix stats output for opt.lg_extent_max_active_fit.

This commit is contained in:
Qi Wang 2018-06-04 11:06:23 -07:00 committed by Qi Wang
parent d22e150320
commit 9bd8deb260

View File

@ -891,6 +891,8 @@ stats_general_print(emitter_t *emitter) {
#define OPT_WRITE_UNSIGNED(name) \ #define OPT_WRITE_UNSIGNED(name) \
OPT_WRITE(name, uv, usz, emitter_type_unsigned) OPT_WRITE(name, uv, usz, emitter_type_unsigned)
#define OPT_WRITE_SIZE_T(name) \
OPT_WRITE(name, sv, ssz, emitter_type_size)
#define OPT_WRITE_SSIZE_T(name) \ #define OPT_WRITE_SSIZE_T(name) \
OPT_WRITE(name, ssv, sssz, emitter_type_ssize) OPT_WRITE(name, ssv, sssz, emitter_type_ssize)
#define OPT_WRITE_SSIZE_T_MUTABLE(name, altname) \ #define OPT_WRITE_SSIZE_T_MUTABLE(name, altname) \
@ -912,7 +914,7 @@ stats_general_print(emitter_t *emitter) {
OPT_WRITE_BOOL_MUTABLE("background_thread", "background_thread") OPT_WRITE_BOOL_MUTABLE("background_thread", "background_thread")
OPT_WRITE_SSIZE_T_MUTABLE("dirty_decay_ms", "arenas.dirty_decay_ms") OPT_WRITE_SSIZE_T_MUTABLE("dirty_decay_ms", "arenas.dirty_decay_ms")
OPT_WRITE_SSIZE_T_MUTABLE("muzzy_decay_ms", "arenas.muzzy_decay_ms") OPT_WRITE_SSIZE_T_MUTABLE("muzzy_decay_ms", "arenas.muzzy_decay_ms")
OPT_WRITE_UNSIGNED("lg_extent_max_active_fit") OPT_WRITE_SIZE_T("lg_extent_max_active_fit")
OPT_WRITE_CHAR_P("junk") OPT_WRITE_CHAR_P("junk")
OPT_WRITE_BOOL("zero") OPT_WRITE_BOOL("zero")
OPT_WRITE_BOOL("utrace") OPT_WRITE_BOOL("utrace")