Home
last modified time | relevance | path

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

/external/ltrace/
Doutput.c78 static struct timeval old_tv = { 0, 0 }; in begin_of_line() local
83 if (old_tv.tv_sec == 0 && old_tv.tv_usec == 0) { in begin_of_line()
84 old_tv.tv_sec = tv.tv_sec; in begin_of_line()
85 old_tv.tv_usec = tv.tv_usec; in begin_of_line()
87 diff.tv_sec = tv.tv_sec - old_tv.tv_sec; in begin_of_line()
88 if (tv.tv_usec >= old_tv.tv_usec) { in begin_of_line()
89 diff.tv_usec = tv.tv_usec - old_tv.tv_usec; in begin_of_line()
92 diff.tv_usec = 1000000 + tv.tv_usec - old_tv.tv_usec; in begin_of_line()
94 old_tv.tv_sec = tv.tv_sec; in begin_of_line()
95 old_tv.tv_usec = tv.tv_usec; in begin_of_line()