Home
last modified time | relevance | path

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

/freebsd/usr.bin/top/
H A Dmachine.c169 static struct timespec proc_uptime; variable
786 previous_proc_uptime = proc_uptime; in get_process_info()
793 if (clock_gettime(CLOCK_UPTIME, &proc_uptime) != 0) in get_process_info()
794 memset(&proc_uptime, 0, sizeof(proc_uptime)); in get_process_info()
797 previous_interval = (proc_uptime.tv_sec - in get_process_info()
799 nsec = proc_uptime.tv_nsec - previous_proc_uptime.tv_nsec; in get_process_info()