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

Function prof_gctx_should_destroy

deps/memkind/src/jemalloc/src/prof.c:629–641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

627}
628
629static bool
630prof_gctx_should_destroy(prof_gctx_t *gctx) {
631 if (opt_prof_accum) {
632 return false;
633 }
634 if (!tctx_tree_empty(&gctx->tctxs)) {
635 return false;
636 }
637 if (gctx->nlimbo != 0) {
638 return false;
639 }
640 return true;
641}
642
643static void
644prof_tctx_destroy(tsd_t *tsd, prof_tctx_t *tctx) {

Callers 2

prof_tctx_destroyFunction · 0.70
prof_gctx_finishFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected