Searched refs:prof_accum (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | prof_inlines_a.h | 7 prof_accum_add(tsdn_t *tsdn, prof_accum_t *prof_accum, in prof_accum_add() argument 21 a0 = atomic_load_u64(&prof_accum->accumbytes, ATOMIC_RELAXED); in prof_accum_add() 29 } while (!atomic_compare_exchange_weak_u64(&prof_accum->accumbytes, &a0, in prof_accum_add() 32 malloc_mutex_lock(tsdn, &prof_accum->mtx); in prof_accum_add() 33 a0 = prof_accum->accumbytes; in prof_accum_add() 39 prof_accum->accumbytes = a1; in prof_accum_add() 40 malloc_mutex_unlock(tsdn, &prof_accum->mtx); in prof_accum_add() 46 prof_accum_cancel(tsdn_t *tsdn, prof_accum_t *prof_accum, in prof_accum_cancel() argument 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() [all …]
|
H A D | arena_structs_b.h | 118 prof_accum_t prof_accum; member
|
H A D | arena_inlines_a.h | 32 return prof_accum_add(tsdn, &arena->prof_accum, accumbytes); in arena_prof_accum()
|
H A D | prof_externs.h | 67 bool prof_accum_init(tsdn_t *tsdn, prof_accum_t *prof_accum);
|
/freebsd/contrib/jemalloc/src/ |
H A D | prof.c | 2033 prof_accum_init(tsdn_t *tsdn, prof_accum_t *prof_accum) { in prof_accum_init() argument 2037 if (malloc_mutex_init(&prof_accum->mtx, "prof_accum", in prof_accum_init() 2041 prof_accum->accumbytes = 0; in prof_accum_init() 2043 atomic_store_u64(&prof_accum->accumbytes, 0, ATOMIC_RELAXED); in prof_accum_init()
|
H A D | arena.c | 1575 prof_accum_cancel(tsdn, &arena->prof_accum, usize); in arena_prof_promote() 1984 if (prof_accum_init(tsdn, &arena->prof_accum)) { in arena_new()
|
/freebsd/contrib/jemalloc/ |
H A D | ChangeLog | 1019 prof_accum unit test. 1229 - Change the "opt.prof_accum" default from true to false. 1298 but only occurred in non-default configurations (prof_accum:false). 1393 if "opt.prof_accum" were disabled.
|