Lines Matching refs:prev_timeval
898 static struct timeval prev_timeval; variable
921 *((struct timeval *)tv_rel) = prev_timeval; in time_push()
922 gettimeofday(&prev_timeval, NULL); in time_push()
923 ((struct timeval *)tv_rel)->tv_usec = prev_timeval.tv_usec in time_push()
925 ((struct timeval *)tv_rel)->tv_sec = prev_timeval.tv_sec in time_push()
932 *(struct timeval *)tv_start = prev_timeval; in time_push()
945 prev_timeval.tv_usec -= ((struct timeval *)tp)->tv_usec; in time_pop()
946 prev_timeval.tv_sec -= ((struct timeval *)tp)->tv_sec; in time_pop()
947 if (prev_timeval.tv_usec < 0) in time_pop()
949 prev_timeval.tv_usec += 1000000; in time_pop()
950 --prev_timeval.tv_sec; in time_pop()
980 prev_timeval = start; in time_msg()
993 time_diff(&prev_timeval, &now); in time_msg()
994 prev_timeval = now; in time_msg()