Lines Matching defs:now
37 struct timeval now;
39 now.tv_sec = milliseconds / 1000;
40 now.tv_usec = (milliseconds % 1000) * 1000;
41 return now;
55 struct timeval now;
58 now.tv_sec = tsnow.tv_sec;
59 now.tv_usec = tsnow.tv_nsec / 1000;
68 (void)gettimeofday(&now, NULL);
71 now.tv_sec = (long)time(NULL);
72 now.tv_usec = 0;
75 return now;
87 struct timeval now;
88 (void)gettimeofday(&now, NULL);
89 return now;
99 struct timeval now;
100 now.tv_sec = (long)time(NULL);
101 now.tv_usec = 0;
102 return now;