Lines Matching refs:cnts
232 tctx->cnts.curobjs++; in prof_malloc_sample_object()
233 tctx->cnts.curbytes += usize; in prof_malloc_sample_object()
235 tctx->cnts.accumobjs++; in prof_malloc_sample_object()
236 tctx->cnts.accumbytes += usize; in prof_malloc_sample_object()
247 assert(tctx->cnts.curobjs > 0); in prof_free_sampled_object()
248 assert(tctx->cnts.curbytes >= usize); in prof_free_sampled_object()
249 tctx->cnts.curobjs--; in prof_free_sampled_object()
250 tctx->cnts.curbytes -= usize; in prof_free_sampled_object()
616 if (tctx->cnts.curobjs != 0) in prof_tctx_should_destroy()
644 assert(tctx->cnts.curobjs == 0); in prof_tctx_destroy()
645 assert(tctx->cnts.curbytes == 0); in prof_tctx_destroy()
647 assert(tctx->cnts.accumobjs == 0); in prof_tctx_destroy()
648 assert(tctx->cnts.accumbytes == 0); in prof_tctx_destroy()
804 memset(&ret.p->cnts, 0, sizeof(prof_cnt_t)); in prof_lookup()
1050 memcpy(&tctx->dump_cnts, &tctx->cnts, sizeof(prof_cnt_t)); in prof_tctx_merge_tdata()