Lines Matching refs:ce_ntests
68 if (cep->ce_ntests & CE_START_MASK) in cpr_stat_event_start()
71 cep->ce_ntests |= CE_START_MASK; in cpr_stat_event_start()
100 if (!(cep->ce_ntests & CE_START_MASK)) in cpr_stat_event_end()
103 cep->ce_ntests &= ~CE_START_MASK; in cpr_stat_event_end()
104 cep->ce_ntests++; in cpr_stat_event_end()
111 cep->ce_sec.mtime = ((cep->ce_sec.mtime * (cep->ce_ntests - 1)) + in cpr_stat_event_end()
112 cep->ce_sec.ltime) / cep->ce_ntests; in cpr_stat_event_end()
123 ((cep->ce_msec.mtime * (cep->ce_ntests - 1)) + in cpr_stat_event_end()
124 cep->ce_msec.ltime) / cep->ce_ntests; in cpr_stat_event_end()
126 cp->cs_ntests = cep->ce_ntests & ~CE_START_MASK; in cpr_stat_event_end()
136 if ((cep->ce_ntests & CE_START_MASK) && in cpr_stat_cleanup()
139 cep->ce_ntests &= ~CE_START_MASK; in cpr_stat_cleanup()
194 printf(fmt, cep->ce_name, tabs, (int)cep->ce_ntests, in cpr_stat_event_print()