Lines Matching defs:now
34 struct timeval now;
36 now.tv_sec = milliseconds / 1000;
37 now.tv_usec = (milliseconds % 1000) * 1000;
38 return now;
52 struct timeval now;
55 now.tv_sec = tsnow.tv_sec;
56 now.tv_usec = tsnow.tv_nsec / 1000;
65 (void)gettimeofday(&now, NULL);
68 now.tv_sec = (long)time(NULL);
69 now.tv_usec = 0;
72 return now;
84 struct timeval now;
85 (void)gettimeofday(&now, NULL);
86 return now;
96 struct timeval now;
97 now.tv_sec = (long)time(NULL);
98 now.tv_usec = 0;
99 return now;