Lines Matching refs:cnts
233 tctx->cnts.curobjs++; in prof_malloc_sample_object()
234 tctx->cnts.curbytes += usize; in prof_malloc_sample_object()
236 tctx->cnts.accumobjs++; in prof_malloc_sample_object()
237 tctx->cnts.accumbytes += usize; in prof_malloc_sample_object()
248 assert(tctx->cnts.curobjs > 0); in prof_free_sampled_object()
249 assert(tctx->cnts.curbytes >= usize); in prof_free_sampled_object()
250 tctx->cnts.curobjs--; in prof_free_sampled_object()
251 tctx->cnts.curbytes -= usize; in prof_free_sampled_object()
619 if (tctx->cnts.curobjs != 0) in prof_tctx_should_destroy()
648 assert(tctx->cnts.curobjs == 0); in prof_tctx_destroy()
649 assert(tctx->cnts.curbytes == 0); in prof_tctx_destroy()
651 assert(tctx->cnts.accumobjs == 0); in prof_tctx_destroy()
652 assert(tctx->cnts.accumbytes == 0); in prof_tctx_destroy()
807 memset(&ret.p->cnts, 0, sizeof(prof_cnt_t)); in prof_lookup()
1056 memcpy(&tctx->dump_cnts, &tctx->cnts, sizeof(prof_cnt_t)); in prof_tctx_merge_tdata()