Lines Matching refs:now
38 struct timeval now;
40 now.tv_sec = (long)(milliseconds / 1000);
41 now.tv_usec = (long)((milliseconds % 1000) * 1000);
42 return now;
56 struct timeval now;
59 now.tv_sec = tsnow.tv_sec;
60 now.tv_usec = (int)(tsnow.tv_nsec / 1000);
69 (void)gettimeofday(&now, NULL);
72 now.tv_sec = time(NULL);
73 now.tv_usec = 0;
76 return now;
88 struct timeval now;
89 (void)gettimeofday(&now, NULL);
90 return now;
100 struct timeval now;
101 now.tv_sec = time(NULL);
102 now.tv_usec = 0;
103 return now;