/external/jemalloc/test/unit/ |
D | stats.c | 41 uint64_t nmalloc, ndalloc, nrequests; in TEST_BEGIN() local 55 assert_d_eq(mallctl("stats.arenas.0.huge.nmalloc", (void *)&nmalloc, in TEST_BEGIN() 65 assert_u64_ge(nmalloc, ndalloc, in TEST_BEGIN() 67 assert_u64_le(nmalloc, nrequests, in TEST_BEGIN() 147 uint64_t epoch, nmalloc, ndalloc, nrequests; in TEST_BEGIN() local 170 assert_d_eq(mallctl("stats.arenas.0.small.nmalloc", (void *)&nmalloc, in TEST_BEGIN() 181 assert_u64_gt(nmalloc, 0, in TEST_BEGIN() 183 assert_u64_ge(nmalloc, ndalloc, in TEST_BEGIN() 198 uint64_t epoch, nmalloc, ndalloc, nrequests; in TEST_BEGIN() local 216 assert_d_eq(mallctl("stats.arenas.0.large.nmalloc", (void *)&nmalloc, in TEST_BEGIN() [all …]
|
/external/jemalloc_new/test/unit/ |
D | stats.c | 32 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/ |
D | android_je_mallinfo.c | 27 …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()
|
D | stats.c | 249 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 …]
|
D | arena.c | 126 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 …]
|
D | ctl.c | 723 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/include/jemalloc/internal/ |
D | stats.h | 30 uint64_t nmalloc; member 72 uint64_t nmalloc; member 94 uint64_t nmalloc; member
|
/external/jemalloc/src/ |
D | stats.c | 72 uint64_t nmalloc, ndalloc, nrequests, nfills, nflushes; in stats_arena_bins_print() local 89 CTL_M2_M4_GET("stats.arenas.0.bins.0.nmalloc", i, j, &nmalloc, in stats_arena_bins_print() 115 nmalloc, in stats_arena_bins_print() 159 reg_size, j, curregs * reg_size, nmalloc, in stats_arena_bins_print() 169 reg_size, j, curregs * reg_size, nmalloc, in stats_arena_bins_print() 204 uint64_t nmalloc, ndalloc, nrequests; in stats_arena_lruns_print() local 207 CTL_M2_M4_GET("stats.arenas.0.lruns.0.nmalloc", i, j, &nmalloc, in stats_arena_lruns_print() 235 run_size, nbins + j, curruns * run_size, nmalloc, in stats_arena_lruns_print() 269 uint64_t nmalloc, ndalloc, nrequests; in stats_arena_hchunks_print() local 273 &nmalloc, uint64_t); in stats_arena_hchunks_print() [all …]
|
D | ctl.c | 576 cstats->nmalloc_small += cstats->bstats[i].nmalloc; in ctl_arena_stats_amerge() 625 sstats->bstats[i].nmalloc += astats->bstats[i].nmalloc; in ctl_arena_stats_smerge() 642 sstats->lstats[i].nmalloc += astats->lstats[i].nmalloc; in ctl_arena_stats_smerge() 650 sstats->hstats[i].nmalloc += astats->hstats[i].nmalloc; in ctl_arena_stats_smerge() 2170 ctl_stats.arenas[mib[2]].bstats[mib[4]].nmalloc, uint64_t) in CTL_RO_NL_CGEN() 2199 ctl_stats.arenas[mib[2]].lstats[mib[4]].nmalloc, uint64_t) 2218 ctl_stats.arenas[mib[2]].hstats[mib[4]].nmalloc, uint64_t) 2222 ctl_stats.arenas[mib[2]].hstats[mib[4]].nmalloc, /* Intentional. */
|
D | android_je_mallinfo.c | 93 mi.uordblks = bin->stats.nmalloc; in __mallinfo_bin_info()
|
D | arena.c | 819 arena->stats.hstats[index].nmalloc++; in arena_huge_malloc_stats_update() 832 arena->stats.hstats[index].nmalloc--; in arena_huge_malloc_stats_update_undo() 2445 bin->stats.nmalloc += i; in arena_tcache_fill_small() 2588 bin->stats.nmalloc++; in arena_malloc_small() 2658 arena->stats.lstats[index].nmalloc++; in arena_malloc_large() 2773 arena->stats.lstats[index].nmalloc++; in arena_palloc_large() 3084 arena->stats.lstats[index].nmalloc++; in arena_ralloc_large_shrink() 3179 arena->stats.lstats[index].nmalloc++; in arena_ralloc_large_grow() 3475 lstats[i].nmalloc += arena->stats.lstats[i].nmalloc; in arena_stats_merge() 3482 hstats[i].nmalloc += arena->stats.hstats[i].nmalloc; in arena_stats_merge() [all …]
|
/external/jemalloc_new/include/jemalloc/internal/ |
D | bin.h | 94 dst_bin_stats->nmalloc += bin->stats.nmalloc; in bin_stats_merge()
|
D | bin_stats.h | 14 uint64_t nmalloc; member
|
D | arena_stats.h | 27 arena_stats_u64_t nmalloc; member
|
/external/jemalloc_new/ |
D | ChangeLog | 230 + 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
|
/external/jemalloc/ |
D | ChangeLog | 348 + The "stats.arenas.<i>.huge.allocated", "stats.arenas.<i>.huge.nmalloc", 352 "stats.arenas.<i>.hchunks.<j>.nmalloc", 441 - Remove the "stats.huge.allocated", "stats.huge.nmalloc", and
|