Lines Matching refs:time
18 * time by 24 hours every ~16 seconds, it may cause application
44 #include <time.h>
45 #include <sys/time.h>
138 if (tx.time.tv_sec < next_leap) {
142 tx.time.tv_sec,
143 tx.time.tv_usec,
151 tx.time.tv_sec,
152 tx.time.tv_usec,
192 printf("Only setting leap-flag, not changing time. It could take up to a day for leap to trigger.\n");
204 printf(" (default sets time to right before leapsecond)\n");
206 printf(" -t: Print TAI time\n");
242 /* Get the current time */
255 printf("Setting time to %s", ctime(&tv.tv_sec));
258 /* Reset NTP time state */
284 printf("Using TAI time,"
328 now = tx.time.tv_sec;
344 ctime_r(&tx.time.tv_sec, buf);
349 tx.time.tv_usec,
353 now = tx.time.tv_sec;