Lines Matching refs:cnts
246 tctx->cnts.curobjs++; in prof_malloc_sample_object()
247 tctx->cnts.curbytes += usize; in prof_malloc_sample_object()
249 tctx->cnts.accumobjs++; in prof_malloc_sample_object()
250 tctx->cnts.accumbytes += usize; in prof_malloc_sample_object()
259 assert(tctx->cnts.curobjs > 0); in prof_free_sampled_object()
260 assert(tctx->cnts.curbytes >= usize); in prof_free_sampled_object()
261 tctx->cnts.curobjs--; in prof_free_sampled_object()
262 tctx->cnts.curbytes -= usize; in prof_free_sampled_object()
620 if (tctx->cnts.curobjs != 0) { in prof_tctx_should_destroy()
651 assert(tctx->cnts.curobjs == 0); in prof_tctx_destroy()
652 assert(tctx->cnts.curbytes == 0); in prof_tctx_destroy()
654 assert(tctx->cnts.accumobjs == 0); in prof_tctx_destroy()
655 assert(tctx->cnts.accumbytes == 0); in prof_tctx_destroy()
833 memset(&ret.p->cnts, 0, sizeof(prof_cnt_t)); in prof_lookup()
1069 memcpy(&tctx->dump_cnts, &tctx->cnts, sizeof(prof_cnt_t)); in prof_tctx_merge_tdata()