Lines Matching refs:hr_now
163 last_disk_activity(hrtime_t *hr_now, int threshold) in last_disk_activity() argument
165 return (check_activity(disk_act_start, info->pd_diskreads_sum, hr_now, in last_disk_activity()
170 last_tty_activity(hrtime_t *hr_now, int threshold) in last_tty_activity() argument
172 return (check_activity(tty_act_start, info->pd_ttychars_sum, hr_now, in last_tty_activity()
177 last_load_ave_activity(hrtime_t *hr_now) in last_load_ave_activity() argument
179 return ((*hr_now - last_load_ave_change) / NANOSEC); in last_load_ave_activity()
183 last_nfs_activity(hrtime_t *hr_now, int threshold) in last_nfs_activity() argument
185 return (check_activity(nfs_act_start, info->pd_nfsreqs_sum, hr_now, in last_nfs_activity()
269 check_disks(hrtime_t *hr_now, int threshold) in check_disks() argument
292 return (check_activity(disk_act_start, info->pd_diskreads_sum, hr_now, in check_disks()
361 check_tty(hrtime_t *hr_now, int threshold) in check_tty() argument
374 return (check_activity(tty_act_start, info->pd_ttychars_sum, hr_now, in check_tty()
400 check_load_ave(hrtime_t *hr_now, float threshold) in check_load_ave() argument
412 return ((*hr_now - last_load_ave_change) / NANOSEC); in check_load_ave()
506 check_nfs(hrtime_t *hr_now, int threshold) in check_nfs() argument
538 return (check_activity(nfs_act_start, info->pd_nfsreqs_sum, hr_now, in check_nfs()
650 hrtime_t hr_now; in keep_activity_data() local
671 hr_now = gethrtime(); in keep_activity_data()
673 while ((int)((hr_now - node->snaptime) / NANOSEC) > idle_time && in keep_activity_data()