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

Function assert_log_empty

deps/jemalloc/test/unit/prof_log.c:10–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8}
9
10static void assert_log_empty() {
11 assert_zu_eq(prof_log_bt_count(), 0,
12 "The log has backtraces; it isn't empty");
13 assert_zu_eq(prof_log_thr_count(), 0,
14 "The log has threads; it isn't empty");
15 assert_zu_eq(prof_log_alloc_count(), 0,
16 "The log has allocations; it isn't empty");
17}
18
19void *buf[N_PARAM];
20

Callers 1

prof_log.cFile · 0.85

Calls 3

prof_log_bt_countFunction · 0.85
prof_log_thr_countFunction · 0.85
prof_log_alloc_countFunction · 0.85

Tested by

no test coverage detected