Home
last modified time | relevance | path

Searched refs:accumbytes (Results 1 – 8 of 8) sorted by relevance

/external/jemalloc_new/include/jemalloc/internal/
Dprof_inlines_a.h7 prof_accum_add(tsdn_t *tsdn, prof_accum_t *prof_accum, uint64_t accumbytes) { in prof_accum_add() argument
20 a0 = atomic_load_u64(&prof_accum->accumbytes, ATOMIC_RELAXED); in prof_accum_add()
22 a1 = a0 + accumbytes; in prof_accum_add()
28 } while (!atomic_compare_exchange_weak_u64(&prof_accum->accumbytes, &a0, in prof_accum_add()
32 a0 = prof_accum->accumbytes; in prof_accum_add()
33 a1 = a0 + accumbytes; in prof_accum_add()
38 prof_accum->accumbytes = a1; in prof_accum_add()
56 a0 = atomic_load_u64(&prof_accum->accumbytes, ATOMIC_RELAXED); in prof_accum_cancel()
60 } while (!atomic_compare_exchange_weak_u64(&prof_accum->accumbytes, &a0, in prof_accum_cancel()
64 a0 = prof_accum->accumbytes; in prof_accum_cancel()
[all …]
Dprof_structs.h26 uint64_t accumbytes; member
28 atomic_u64_t accumbytes;
37 uint64_t accumbytes; member
Darena_inlines_a.h25 arena_prof_accum(tsdn_t *tsdn, arena_t *arena, uint64_t accumbytes) { in arena_prof_accum() argument
32 return prof_accum_add(tsdn, &arena->prof_accum, accumbytes); in arena_prof_accum()
Dprof_externs.h63 uint64_t *accumbytes);
/external/jemalloc_new/src/
Dprof.c250 tctx->cnts.accumbytes += usize; in prof_malloc_sample_object()
655 assert(tctx->cnts.accumbytes == 0); in prof_tctx_destroy()
1076 tdata->cnt_summed.accumbytes += in prof_tctx_merge_tdata()
1077 tctx->dump_cnts.accumbytes; in prof_tctx_merge_tdata()
1094 gctx->cnt_summed.accumbytes += tctx->dump_cnts.accumbytes; in prof_tctx_merge_gctx()
1142 tctx->dump_cnts.accumbytes)) { in prof_tctx_dump_iter()
1294 arg->cnt_all.accumbytes += tdata->cnt_summed.accumbytes; in prof_tdata_merge_iter()
1317 tdata->cnt_summed.accumbytes, in prof_tdata_dump_iter()
1334 cnt_all->curbytes, cnt_all->accumobjs, cnt_all->accumbytes)) { in prof_dump_header_impl()
1362 assert(gctx->cnt_summed.accumbytes == 0); in prof_dump_gctx()
[all …]
/external/jemalloc/src/
Dprof.c237 tctx->cnts.accumbytes += usize; in prof_malloc_sample_object()
652 assert(tctx->cnts.accumbytes == 0); in prof_tctx_destroy()
1063 tdata->cnt_summed.accumbytes += in prof_tctx_merge_tdata()
1064 tctx->dump_cnts.accumbytes; in prof_tctx_merge_tdata()
1083 gctx->cnt_summed.accumbytes += tctx->dump_cnts.accumbytes; in prof_tctx_merge_gctx()
1133 tctx->dump_cnts.accumbytes)) in prof_tctx_dump_iter()
1286 arg->cnt_all.accumbytes += tdata->cnt_summed.accumbytes; in prof_tdata_merge_iter()
1307 tdata->cnt_summed.accumbytes, in prof_tdata_dump_iter()
1327 cnt_all->curbytes, cnt_all->accumobjs, cnt_all->accumbytes)) in prof_dump_header()
1359 assert(gctx->cnt_summed.accumbytes == 0); in prof_dump_gctx()
[all …]
/external/jemalloc/include/jemalloc/internal/
Darena.h692 bool arena_prof_accum_impl(arena_t *arena, uint64_t accumbytes);
693 bool arena_prof_accum_locked(arena_t *arena, uint64_t accumbytes);
694 bool arena_prof_accum(tsdn_t *tsdn, arena_t *arena, uint64_t accumbytes);
1061 arena_prof_accum_impl(arena_t *arena, uint64_t accumbytes) in arena_prof_accum_impl() argument
1067 arena->prof_accumbytes += accumbytes; in arena_prof_accum_impl()
1076 arena_prof_accum_locked(arena_t *arena, uint64_t accumbytes) in arena_prof_accum_locked() argument
1083 return (arena_prof_accum_impl(arena, accumbytes)); in arena_prof_accum_locked()
1087 arena_prof_accum(tsdn_t *tsdn, arena_t *arena, uint64_t accumbytes) in arena_prof_accum() argument
1099 ret = arena_prof_accum_impl(arena, accumbytes); in arena_prof_accum()
Dprof.h78 uint64_t accumbytes; member