Home
last modified time | relevance | path

Searched refs:nmalloc (Results 1 – 9 of 9) sorted by relevance

/external/jemalloc_new/test/unit/
Dstats.c32 uint64_t nmalloc, ndalloc, nrequests; in TEST_BEGIN() local
47 assert_d_eq(mallctl("stats.arenas.0.large.nmalloc", (void *)&nmalloc, in TEST_BEGIN()
58 assert_u64_ge(nmalloc, ndalloc, in TEST_BEGIN()
60 assert_u64_le(nmalloc, nrequests, in TEST_BEGIN()
146 uint64_t epoch, nmalloc, ndalloc, nrequests; in TEST_BEGIN() local
165 assert_d_eq(mallctl("stats.arenas.0.small.nmalloc", (void *)&nmalloc, in TEST_BEGIN()
176 assert_u64_gt(nmalloc, 0, in TEST_BEGIN()
178 assert_u64_ge(nmalloc, ndalloc, in TEST_BEGIN()
191 uint64_t epoch, nmalloc, ndalloc; in TEST_BEGIN() local
205 assert_d_eq(mallctl("stats.arenas.0.large.nmalloc", (void *)&nmalloc, in TEST_BEGIN()
[all …]
/external/jemalloc_new/src/
Dandroid_je_mallinfo.c27 …uint64_t nmalloc = arena_stats_read_u64(TSDN_NULL, &arena->stats, &arena->stats.lstats[j].nmalloc); in accumulate_large_allocs() local
28 size_t allocs = (size_t)(nmalloc - ndalloc); in accumulate_large_allocs()
108 mi.uordblks = (size_t) bin->stats.nmalloc; in je_mallinfo_bin_info()
Dstats.c249 COL(nmalloc, right, 13, uint64) in stats_arena_bins_print()
297 uint64_t nmalloc, ndalloc, nrequests, nfills, nflushes; in stats_arena_bins_print() local
314 CTL_M2_M4_GET("stats.arenas.0.bins.0.nmalloc", i, j, &nmalloc, in stats_arena_bins_print()
338 &nmalloc); in stats_arena_bins_print()
383 col_nmalloc.uint64_val = nmalloc; in stats_arena_bins_print()
440 COL(nmalloc, right, 13, uint64) in stats_arena_lextents_print()
453 uint64_t nmalloc, ndalloc, nrequests; in stats_arena_lextents_print() local
457 &nmalloc, uint64_t); in stats_arena_lextents_print()
482 col_nmalloc.uint64_val = nmalloc; in stats_arena_lextents_print()
745 GET_AND_EMIT_ALLOC_STAT(small, nmalloc, uint64) in stats_arena_print()
[all …]
Darena.c126 uint64_t nmalloc = arena_stats_read_u64(tsdn, &arena->stats, in arena_stats_merge() local
127 &arena->stats.lstats[i].nmalloc); in arena_stats_merge()
128 arena_stats_accum_u64(&lstats[i].nmalloc, nmalloc); in arena_stats_merge()
129 arena_stats_accum_u64(&astats->nmalloc_large, nmalloc); in arena_stats_merge()
139 nmalloc + nrequests); in arena_stats_merge()
141 nmalloc + nrequests); in arena_stats_merge()
143 assert(nmalloc >= ndalloc); in arena_stats_merge()
144 assert(nmalloc - ndalloc <= SIZE_T_MAX); in arena_stats_merge()
145 size_t curlextents = (size_t)(nmalloc - ndalloc); in arena_stats_merge()
301 &arena->stats.lstats[hindex].nmalloc, 1); in arena_large_malloc_stats_update()
[all …]
Dctl.c723 ctl_arena->astats->bstats[i].nmalloc; in ctl_arena_stats_amerge()
831 sdstats->bstats[i].nmalloc += astats->bstats[i].nmalloc; in ctl_arena_stats_sdmerge()
857 ctl_accum_arena_stats_u64(&sdstats->lstats[i].nmalloc, in ctl_arena_stats_sdmerge()
858 &astats->lstats[i].nmalloc); in ctl_arena_stats_sdmerge()
2819 arenas_i(mib[2])->astats->bstats[mib[4]].nmalloc, uint64_t)
2848 &arenas_i(mib[2])->astats->lstats[mib[4]].nmalloc), uint64_t)
/external/jemalloc_new/include/jemalloc/internal/
Dbin.h94 dst_bin_stats->nmalloc += bin->stats.nmalloc; in bin_stats_merge()
Dbin_stats.h14 uint64_t nmalloc; member
Darena_stats.h27 arena_stats_u64_t nmalloc; member
/external/jemalloc_new/
DChangeLog230 + stats.arenas.<i>.lextents.<j>.{nmalloc,ndalloc,nrequests,curlextents}
335 + stats.arenas.<i>.huge.{allocated,nmalloc,ndalloc,nrequests}
337 + stats.arenas.<i>.lruns.<j>.{nmalloc,ndalloc,nrequests,curruns}
338 + stats.arenas.<i>.hchunks.<j>.{nmalloc,ndalloc,nrequests,curhchunks}
722 + The "stats.arenas.<i>.huge.allocated", "stats.arenas.<i>.huge.nmalloc",
726 "stats.arenas.<i>.hchunks.<j>.nmalloc",
815 - Remove the "stats.huge.allocated", "stats.huge.nmalloc", and