Lines Matching refs:time
16 #include <time.h>
17 #include <sys/time.h>
36 #include <time.h>
78 #define SETUP_WAIT_COUNT 100 /* The real waiting time depends on the alarm timer. Cherry Cho modified in 2008/7/4. */
530 //printf("Sync time %d.\n", sync_interval);
550 time(&now);
560 logmessage("ntp client", "time is synchronized to %s", nvram_safe_get("ntp_servers"));
592 time(&now);
634 /* Check for time-dependent service */
656 //printf("url time change: %d\n", activeNow);
1046 * 2. time-dependent service
1112 time(&now);
1118 /* sync time to ntp server if necessary */
1121 /* check for time-dependent services */
1300 /* Start sync time */
1325 /* Most of time it goes to sleep */