Lines Matching refs:waitrq
246 hrtime_t waitrq; in mstate_thread_onproc_time() local
258 waitrq = t->t_waitrq; in mstate_thread_onproc_time()
273 if (waitrq == 0) { in mstate_thread_onproc_time()
274 waitrq = now; in mstate_thread_onproc_time()
277 if (waitrq > state_start) { in mstate_thread_onproc_time()
278 aggr_time += waitrq - state_start; in mstate_thread_onproc_time()
306 hrtime_t waitrq; in mstate_systhread_times() local
319 waitrq = t->t_waitrq; in mstate_systhread_times()
328 if (waitrq == 0) in mstate_systhread_times()
329 waitrq = now; in mstate_systhread_times()
332 if (mstate == LMS_SYSTEM && state_start < waitrq) in mstate_systhread_times()
333 aggr_onp += waitrq - state_start; in mstate_systhread_times()
335 if (waitrq < now) in mstate_systhread_times()
336 aggr_run += now - waitrq; in mstate_systhread_times()
711 hrtime_t waitrq; in restore_mstate() local
772 waitrq = t->t_waitrq; /* hopefully atomic */ in restore_mstate()
773 if (waitrq == 0) { in restore_mstate()
774 waitrq = curtime; in restore_mstate()
777 newtime = waitrq - ms->ms_state_start; in restore_mstate()
792 waittime = curtime - waitrq; in restore_mstate()