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

Function prof_log_bt_count

deps/jemalloc/src/prof.c:2421–2430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2419
2420#ifdef JEMALLOC_JET
2421size_t
2422prof_log_bt_count(void) {
2423 size_t cnt = 0;
2424 prof_bt_node_t *node = log_bt_first;
2425 while (node != NULL) {
2426 cnt++;
2427 node = node->next;
2428 }
2429 return cnt;
2430}
2431
2432size_t
2433prof_log_alloc_count(void) {

Callers 3

assert_log_emptyFunction · 0.85
prof_log.cFile · 0.85
prof_log_rep_checkFunction · 0.85

Calls

no outgoing calls

Tested by 1

assert_log_emptyFunction · 0.68