MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ixallocx_prof_sample

Function ixallocx_prof_sample

app/redis-6.2.6/deps/jemalloc/src/jemalloc.c:2765–2777  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2763}
2764
2765static size_t
2766ixallocx_prof_sample(tsdn_t *tsdn, void *ptr, size_t old_usize, size_t size,
2767 size_t extra, size_t alignment, bool zero, prof_tctx_t *tctx) {
2768 size_t usize;
2769
2770 if (tctx == NULL) {
2771 return old_usize;
2772 }
2773 usize = ixallocx_helper(tsdn, ptr, old_usize, size, extra, alignment,
2774 zero);
2775
2776 return usize;
2777}
2778
2779JEMALLOC_ALWAYS_INLINE size_t
2780ixallocx_prof(tsd_t *tsd, void *ptr, size_t old_usize, size_t size,

Callers 1

ixallocx_profFunction · 0.85

Calls 1

ixallocx_helperFunction · 0.85

Tested by

no test coverage detected