Home
last modified time | relevance | path

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

/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dprof_inlines_a.h8 uint64_t accumbytes) { in prof_accum_add() argument
21 a0 = atomic_load_u64(&prof_accum->accumbytes, ATOMIC_RELAXED); in prof_accum_add()
23 a1 = a0 + accumbytes; in prof_accum_add()
29 } while (!atomic_compare_exchange_weak_u64(&prof_accum->accumbytes, &a0, in prof_accum_add()
33 a0 = prof_accum->accumbytes; in prof_accum_add()
34 a1 = a0 + accumbytes; in prof_accum_add()
39 prof_accum->accumbytes = a1; in prof_accum_add()
58 a0 = atomic_load_u64(&prof_accum->accumbytes, ATOMIC_RELAXED); in prof_accum_cancel()
62 } while (!atomic_compare_exchange_weak_u64(&prof_accum->accumbytes, &a0, in prof_accum_cancel()
66 a0 = prof_accum->accumbytes; in prof_accum_cancel()
[all …]
H A Dprof_structs.h26 uint64_t accumbytes; member
28 atomic_u64_t accumbytes;
37 uint64_t accumbytes; member
H A 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()
H A Dprof_externs.h65 uint64_t *accumbytes);
/freebsd/contrib/jemalloc/src/
H A Dprof.c358 tctx->cnts.accumbytes += usize; in prof_malloc_sample_object()
923 assert(tctx->cnts.accumbytes == 0); in prof_tctx_destroy()
1347 tdata->cnt_summed.accumbytes += in prof_tctx_merge_tdata()
1348 tctx->dump_cnts.accumbytes; in prof_tctx_merge_tdata()
1365 gctx->cnt_summed.accumbytes += tctx->dump_cnts.accumbytes; in prof_tctx_merge_gctx()
1413 tctx->dump_cnts.accumbytes)) { in prof_tctx_dump_iter()
1565 arg->cnt_all.accumbytes += tdata->cnt_summed.accumbytes; in prof_tdata_merge_iter()
1588 tdata->cnt_summed.accumbytes, in prof_tdata_dump_iter()
1605 cnt_all->curbytes, cnt_all->accumobjs, cnt_all->accumbytes)) { in prof_dump_header_impl()
1633 assert(gctx->cnt_summed.accumbytes == 0); in prof_dump_gctx()
[all …]