Home
last modified time | relevance | path

Searched refs:npurge (Results 1 – 11 of 11) sorted by relevance

/external/jemalloc_new/test/unit/
Ddecay.c111 uint64_t npurge = 0; in get_arena_npurge_impl() local
112 size_t sz = sizeof(npurge); in get_arena_npurge_impl()
113 assert_d_eq(mallctlbymib(mib, miblen, (void *)&npurge, &sz, NULL, 0), in get_arena_npurge_impl()
115 return npurge; in get_arena_npurge_impl()
/external/jemalloc_new/src/
Dbackground_thread.c179 size_t target, npurge;
183 npurge = decay_npurge_after_interval(decay, target);
184 if (npurge > BACKGROUND_THREAD_NPAGES_THRESHOLD) {
186 npurge_ub = npurge;
189 npurge_lb = npurge;
Darena.c97 arena_stats_accum_u64(&astats->decay_dirty.npurge, in arena_stats_merge()
99 &arena->stats.decay_dirty.npurge)); in arena_stats_merge()
107 arena_stats_accum_u64(&astats->decay_muzzy.npurge, in arena_stats_merge()
109 &arena->stats.decay_muzzy.npurge)); in arena_stats_merge()
794 arena_stats_add_u64(tsdn, &arena->stats, &decay->stats->npurge, in arena_decay_stashed()
834 size_t npurge = arena_stash_decayed(tsdn, arena, &extent_hooks, extents, in arena_decay_to_limit() local
836 if (npurge != 0) { in arena_decay_to_limit()
840 assert(npurged == npurge); in arena_decay_to_limit()
Dctl.c765 ctl_accum_arena_stats_u64(&sdstats->astats.decay_dirty.npurge, in ctl_arena_stats_sdmerge()
766 &astats->astats.decay_dirty.npurge); in ctl_arena_stats_sdmerge()
772 ctl_accum_arena_stats_u64(&sdstats->astats.decay_muzzy.npurge, in ctl_arena_stats_sdmerge()
773 &astats->astats.decay_muzzy.npurge); in ctl_arena_stats_sdmerge()
2673 &arenas_i(mib[2])->astats->astats.decay_dirty.npurge), uint64_t) in CTL_RO_NL_CGEN()
2683 &arenas_i(mib[2])->astats->astats.decay_muzzy.npurge), uint64_t) in CTL_RO_NL_CGEN()
/external/jemalloc/test/unit/
Dstats.c83 uint64_t npurge, nmadvise, purged; in TEST_BEGIN() local
110 assert_d_eq(mallctl("stats.arenas.0.npurge", (void *)&npurge, &sz, NULL, in TEST_BEGIN()
118 assert_u64_gt(npurge, 0, in TEST_BEGIN()
/external/jemalloc/include/jemalloc/internal/
Dstats.h118 uint64_t npurge; member
/external/jemalloc/src/
Dstats.c325 uint64_t npurge, nmadvise, purged; in stats_arena_print() local
388 CTL_M2_GET("stats.arenas.0.npurge", i, &npurge, uint64_t); in stats_arena_print()
397 "\t\t\t\t\"npurge\": %"FMTu64",\n", npurge); in stats_arena_print()
405 ", purged: %"FMTu64"\n", pdirty, npurge, nmadvise, purged); in stats_arena_print()
Darena.c1813 size_t npurge, npurged; in arena_purge_to_limit() local
1833 npurge = arena_stash_dirty(tsdn, arena, &chunk_hooks, ndirty_limit, in arena_purge_to_limit()
1835 if (npurge == 0) in arena_purge_to_limit()
1839 assert(npurged == npurge); in arena_purge_to_limit()
1844 arena->stats.npurge++; in arena_purge_to_limit()
3461 astats->npurge += arena->stats.npurge; in arena_stats_merge()
Dctl.c599 sstats->astats.npurge += astats->astats.npurge; in ctl_arena_stats_smerge()
2134 ctl_stats.arenas[mib[2]].astats.npurge, uint64_t) in CTL_RO_NL_CGEN()
/external/jemalloc_new/include/jemalloc/internal/
Darena_stats.h44 arena_stats_u64_t npurge; member
/external/jemalloc_new/
DChangeLog225 + stats.arenas.<i>.{dirty,muzzy}_{npurge,nmadvise,purged}
334 + stats.arenas.<i>.{npurge,nmadvise,purged}