MCPcopy Create free account
hub / github.com/beefytech/Beef / prof_recent_allocate_node

Function prof_recent_allocate_node

BeefRT/JEMalloc/src/prof_recent.c:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43static prof_recent_t *
44prof_recent_allocate_node(tsdn_t *tsdn) {
45 return (prof_recent_t *)iallocztm(tsdn, sizeof(prof_recent_t),
46 sz_size2index(sizeof(prof_recent_t)), false, NULL, true,
47 arena_get(tsdn, 0, false), true);
48}
49
50static void
51prof_recent_free_node(tsdn_t *tsdn, prof_recent_t *node) {

Callers 1

prof_recent_allocFunction · 0.85

Calls 3

iallocztmFunction · 0.85
sz_size2indexFunction · 0.85
arena_getFunction · 0.85

Tested by

no test coverage detected