Searched refs:prof_accum (Results 1 – 10 of 10) sorted by relevance
/external/jemalloc_new/include/jemalloc/internal/ |
D | prof_inlines_a.h | 7 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() 28 } while (!atomic_compare_exchange_weak_u64(&prof_accum->accumbytes, &a0, in prof_accum_add() 31 malloc_mutex_lock(tsdn, &prof_accum->mtx); in prof_accum_add() 32 a0 = prof_accum->accumbytes; in prof_accum_add() 38 prof_accum->accumbytes = a1; in prof_accum_add() 39 malloc_mutex_unlock(tsdn, &prof_accum->mtx); in prof_accum_add() 45 prof_accum_cancel(tsdn_t *tsdn, prof_accum_t *prof_accum, size_t usize) { in prof_accum_cancel() argument 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() [all …]
|
D | arena_structs_b.h | 115 prof_accum_t prof_accum; member
|
D | arena_inlines_a.h | 32 return prof_accum_add(tsdn, &arena->prof_accum, accumbytes); in arena_prof_accum()
|
D | prof_externs.h | 65 bool prof_accum_init(tsdn_t *tsdn, prof_accum_t *prof_accum);
|
/external/jemalloc_new/src/ |
D | prof.c | 1762 prof_accum_init(tsdn_t *tsdn, prof_accum_t *prof_accum) { in prof_accum_init() argument 1766 if (malloc_mutex_init(&prof_accum->mtx, "prof_accum", in prof_accum_init() 1770 prof_accum->accumbytes = 0; in prof_accum_init() 1772 atomic_store_u64(&prof_accum->accumbytes, 0, ATOMIC_RELAXED); in prof_accum_init()
|
D | arena.c | 1431 prof_accum_cancel(tsdn, &arena->prof_accum, usize); in arena_prof_promote() 1803 if (prof_accum_init(tsdn, &arena->prof_accum)) { in arena_new()
|
/external/jemalloc_new/ |
D | Android.bp | 288 "test/unit/prof_accum.c",
|
D | ChangeLog | 883 prof_accum unit test. 1093 - Change the "opt.prof_accum" default from true to false. 1162 but only occurred in non-default configurations (prof_accum:false). 1257 if "opt.prof_accum" were disabled.
|
D | Makefile.in | 189 $(srcroot)test/unit/prof_accum.c \
|
/external/jemalloc_new/test/unit/ |
D | mallctl.c | 182 TEST_MALLCTL_OPT(bool, prof_accum, prof); in TEST_BEGIN()
|