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

Function prof_log_thr_count

deps/jemalloc/src/prof.c:2443–2452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2441}
2442
2443size_t
2444prof_log_thr_count(void) {
2445 size_t cnt = 0;
2446 prof_thr_node_t *node = log_thr_first;
2447 while (node != NULL) {
2448 cnt++;
2449 node = node->next;
2450 }
2451 return cnt;
2452}
2453
2454bool
2455prof_log_is_logging(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