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

Function prof_log_alloc_count

deps/jemalloc/src/prof.c:2432–2441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2430}
2431
2432size_t
2433prof_log_alloc_count(void) {
2434 size_t cnt = 0;
2435 prof_alloc_node_t *node = log_alloc_first;
2436 while (node != NULL) {
2437 cnt++;
2438 node = node->next;
2439 }
2440 return cnt;
2441}
2442
2443size_t
2444prof_log_thr_count(void) {

Callers 2

assert_log_emptyFunction · 0.85
prof_log_rep_checkFunction · 0.85

Calls

no outgoing calls

Tested by 1

assert_log_emptyFunction · 0.68