mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-07 22:32:56 +03:00
Implement opt.stats_interval and the _opts options.
Add options stats_interval and stats_interval_opts to allow interval based stats printing. This provides an easy way to collect stats without code changes, because opt.stats_print may not work (some binaries never exit).
This commit is contained in:
parent
d71a145ec1
commit
88b0e03a4e
14 changed files with 334 additions and 50 deletions
|
|
@ -170,6 +170,9 @@ TEST_BEGIN(test_mallctl_opt) {
|
|||
TEST_MALLCTL_OPT(ssize_t, dirty_decay_ms, always);
|
||||
TEST_MALLCTL_OPT(ssize_t, muzzy_decay_ms, always);
|
||||
TEST_MALLCTL_OPT(bool, stats_print, always);
|
||||
TEST_MALLCTL_OPT(const char *, stats_print_opts, always);
|
||||
TEST_MALLCTL_OPT(int64_t, stats_interval, always);
|
||||
TEST_MALLCTL_OPT(const char *, stats_interval_opts, always);
|
||||
TEST_MALLCTL_OPT(const char *, junk, fill);
|
||||
TEST_MALLCTL_OPT(bool, zero, fill);
|
||||
TEST_MALLCTL_OPT(bool, utrace, utrace);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue