Searched refs:now (Results 1 – 3 of 3) sorted by relevance
45 struct tm *now; in output() local52 now = localtime(&nw); in output()53 if (now == NULL) in output()57 now->tm_hour, now->tm_min, now->tm_sec); in output()
37 struct timeval now; in test_thread() local47 gettimeofday(&now, NULL); in test_thread()48 time.tv_sec = now.tv_sec + ms / 1000 + (now.tv_usec + (ms % 1000) * 1000) in test_thread()50 time.tv_nsec = ((now.tv_usec + (ms % 1000) * 1000) % 1000000) * 1000; in test_thread()
17 time_t now; in rtc_test() local47 now = time(RT_NULL); in rtc_test()48 rt_kprintf("%s\n", ctime(&now)); in rtc_test()
Completed in 4 milliseconds