summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2015-03-24 23:36:12 (GMT)
committerJason Evans <jasone@canonware.com>2015-03-24 23:41:38 (GMT)
commit562d266511053a51406e91c78eba640cb46ad9c8 (patch)
tree8a902774e2cf5f5abc8f5c6d0342dcda827462fc /include
parentbd16ea49c3e36706a52ef9c8f560813c167fa085 (diff)
downloadjemalloc-562d266511053a51406e91c78eba640cb46ad9c8.zip
jemalloc-562d266511053a51406e91c78eba640cb46ad9c8.tar.gz
jemalloc-562d266511053a51406e91c78eba640cb46ad9c8.tar.bz2
Add the "stats.arenas.<i>.lg_dirty_mult" mallctl.
Diffstat (limited to 'include')
-rw-r--r--include/jemalloc/internal/arena.h5
-rw-r--r--include/jemalloc/internal/ctl.h1
2 files changed, 4 insertions, 2 deletions
diff --git a/include/jemalloc/internal/arena.h b/include/jemalloc/internal/arena.h
index 56ee74a..dff99fb 100644
--- a/include/jemalloc/internal/arena.h
+++ b/include/jemalloc/internal/arena.h
@@ -470,8 +470,9 @@ dss_prec_t arena_dss_prec_get(arena_t *arena);
bool arena_dss_prec_set(arena_t *arena, dss_prec_t dss_prec);
ssize_t arena_lg_dirty_mult_default_get(void);
bool arena_lg_dirty_mult_default_set(ssize_t lg_dirty_mult);
-void arena_stats_merge(arena_t *arena, const char **dss, size_t *nactive,
- size_t *ndirty, arena_stats_t *astats, malloc_bin_stats_t *bstats,
+void arena_stats_merge(arena_t *arena, const char **dss,
+ ssize_t *lg_dirty_mult, size_t *nactive, size_t *ndirty,
+ arena_stats_t *astats, malloc_bin_stats_t *bstats,
malloc_large_stats_t *lstats, malloc_huge_stats_t *hstats);
arena_t *arena_new(unsigned ind);
void arena_boot(void);
diff --git a/include/jemalloc/internal/ctl.h b/include/jemalloc/internal/ctl.h
index 7c2a4be..751c14b 100644
--- a/include/jemalloc/internal/ctl.h
+++ b/include/jemalloc/internal/ctl.h
@@ -34,6 +34,7 @@ struct ctl_arena_stats_s {
bool initialized;
unsigned nthreads;
const char *dss;
+ ssize_t lg_dirty_mult;
size_t pactive;
size_t pdirty;
arena_stats_t astats;