Home
last modified time | relevance | path

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

/freebsd/usr.bin/top/
H A Dmachine.c172 static uint64_t previous_interval = 0; variable
694 if (previous_interval != 0) { in proc_calc_pctcpu()
698 / previous_interval); in proc_calc_pctcpu()
708 return ((double)pp->ki_runtime / previous_interval); in proc_calc_pctcpu()
788 previous_interval = 0; in get_process_info()
797 previous_interval = (proc_uptime.tv_sec - in get_process_info()
801 previous_interval -= 1000000; in get_process_info()
804 previous_interval += nsec / 1000; in get_process_info()