Home
last modified time | relevance | path

Searched refs:accumbytes (Results 1 – 5 of 5) 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 …]