MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / ixallocx_prof_sample

Function ixallocx_prof_sample

deps/jemalloc/src/jemalloc.c:3324–3336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3322}
3323
3324static size_t
3325ixallocx_prof_sample(tsdn_t *tsdn, void *ptr, size_t old_usize, size_t size,
3326 size_t extra, size_t alignment, bool zero, prof_tctx_t *tctx) {
3327 size_t usize;
3328
3329 if (tctx == NULL) {
3330 return old_usize;
3331 }
3332 usize = ixallocx_helper(tsdn, ptr, old_usize, size, extra, alignment,
3333 zero);
3334
3335 return usize;
3336}
3337
3338JEMALLOC_ALWAYS_INLINE size_t
3339ixallocx_prof(tsd_t *tsd, void *ptr, size_t old_usize, size_t size,

Callers 1

ixallocx_profFunction · 0.70

Calls 1

ixallocx_helperFunction · 0.70

Tested by

no test coverage detected