Home
last modified time | relevance | path

Searched refs:ce_ntests (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/cpr/
H A Dcpr_stat.c68 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()
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()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dcpr.h467 long ce_ntests; /* num of the events since loaded */ member