Searched refs:hr_now (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/power/
H A Dsysstat.c164 last_disk_activity(hrtime_t *hr_now, int threshold) argument
166 return (check_activity(disk_act_start, info->pd_diskreads_sum, hr_now,
171 last_tty_activity(hrtime_t *hr_now, int threshold) argument
173 return (check_activity(tty_act_start, info->pd_ttychars_sum, hr_now,
178 last_load_ave_activity(hrtime_t *hr_now) argument
180 return ((*hr_now - last_load_ave_change) / NANOSEC);
184 last_nfs_activity(hrtime_t *hr_now, int threshold) argument
186 return (check_activity(nfs_act_start, info->pd_nfsreqs_sum, hr_now,
270 check_disks(hrtime_t *hr_now, int threshold) argument
293 return (check_activity(disk_act_start, info->pd_diskreads_sum, hr_now,
362 check_tty(hrtime_t *hr_now, int threshold) argument
401 check_load_ave(hrtime_t *hr_now, float threshold) argument
507 check_nfs(hrtime_t *hr_now, int threshold) argument
651 hrtime_t hr_now; local
[all...]
H A Dpowerd.c514 hrtime_t hr_now; local
517 hr_now = gethrtime();
519 check_idleness(&now, &hr_now);
521 check_shutdown(&now, &hr_now);
531 hrtime_t hr_now; local
603 hr_now = gethrtime();
604 check_idleness(&now, &hr_now);
605 check_shutdown(&now, &hr_now);
610 check_shutdown(time_t *now, hrtime_t *hr_now) argument
654 system = last_system_activity(hr_now);
876 check_idleness(time_t *now, hrtime_t *hr_now) argument
908 last_system_activity(hrtime_t *hr_now) argument
[all...]

Completed in 59 milliseconds