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

Function prof_tdata_reset_iter

deps/jemalloc/src/prof.c:2350–2356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2348}
2349
2350static prof_tdata_t *
2351prof_tdata_reset_iter(prof_tdata_tree_t *tdatas, prof_tdata_t *tdata,
2352 void *arg) {
2353 tsdn_t *tsdn = (tsdn_t *)arg;
2354
2355 return (prof_tdata_expire(tsdn, tdata) ? tdata : NULL);
2356}
2357
2358void
2359prof_reset(tsd_t *tsd, size_t lg_sample) {

Callers

nothing calls this directly

Calls 1

prof_tdata_expireFunction · 0.70

Tested by

no test coverage detected