Home
last modified time | relevance | path

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

/dragonfly/usr.bin/systat/
H A Dnetbw.c157 static struct timeval tv_curr; variable
253 tv_last = tv_curr; in fetchnetbw()
255 gettimeofday(&tv_curr, NULL); in fetchnetbw()
288 delta_time = (double)(tv_curr.tv_sec - tv_last.tv_sec) - 1.0 + in shownetbw()
289 (tv_curr.tv_usec + 1000000 - tv_last.tv_usec) / 1e6; in shownetbw()
H A Dpftop.c185 static struct timeval tv_curr; variable
274 tv_last = tv_curr; in fetchpftop()
275 gettimeofday(&tv_curr, NULL); in fetchpftop()
306 delta_time = (double)(tv_curr.tv_sec - tv_last.tv_sec) - 1.0 + in showpftop()
307 (tv_curr.tv_usec + 1000000 - tv_last.tv_usec) / 1e6; in showpftop()