Home | History | Annotate | Download | only in src

Lines Matching defs:now

42   struct timeval now;
48 now.tv_sec = (long)(milliseconds / 1000);
49 now.tv_usec = (milliseconds % 1000) * 1000;
50 return now;
64 struct timeval now;
67 now.tv_sec = tsnow.tv_sec;
68 now.tv_usec = tsnow.tv_nsec / 1000;
77 (void)gettimeofday(&now, NULL);
80 now.tv_sec = (long)time(NULL);
81 now.tv_usec = 0;
84 return now;
96 struct timeval now;
97 (void)gettimeofday(&now, NULL);
98 return now;
108 struct timeval now;
109 now.tv_sec = (long)time(NULL);
110 now.tv_usec = 0;
111 return now;