Home | History | Annotate | Download | only in libtest

Lines Matching defs:now

36   struct timeval now;
38 now.tv_sec = milliseconds / 1000;
39 now.tv_usec = (milliseconds % 1000) * 1000;
40 return now;
54 struct timeval now;
57 now.tv_sec = tsnow.tv_sec;
58 now.tv_usec = tsnow.tv_nsec / 1000;
67 (void)gettimeofday(&now, NULL);
70 now.tv_sec = (long)time(NULL);
71 now.tv_usec = 0;
74 return now;
86 struct timeval now;
87 (void)gettimeofday(&now, NULL);
88 return now;
98 struct timeval now;
99 now.tv_sec = (long)time(NULL);
100 now.tv_usec = 0;
101 return now;