Lines Matching refs:now
39 struct timeval now;
43 now.tv_sec = (long)(count.QuadPart / tool_freq.QuadPart);
44 now.tv_usec = (long)((count.QuadPart % tool_freq.QuadPart) * 1000000 /
58 now.tv_sec = (long)(milliseconds / 1000);
59 now.tv_usec = (long)((milliseconds % 1000) * 1000);
61 return now;
75 struct timeval now;
78 now.tv_sec = tsnow.tv_sec;
79 now.tv_usec = (int)(tsnow.tv_nsec / 1000);
88 (void)gettimeofday(&now, NULL);
91 now.tv_sec = time(NULL);
92 now.tv_usec = 0;
95 return now;
107 struct timeval now;
108 (void)gettimeofday(&now, NULL);
109 return now;
119 struct timeval now;
120 now.tv_sec = time(NULL);
121 now.tv_usec = 0;
122 return now;