Searched refs:USECS_PER_SEC (Results 1 – 4 of 4) sorted by relevance
21 #define USECS_PER_SEC 1000000 macro68 diff += (end.tv_sec - start.tv_sec) * USECS_PER_SEC; in check_diff()70 if (abs(diff - DELAY * USECS_PER_SEC) > USECS_PER_SEC / 2) { in check_diff()
25 #define USECS_PER_SEC 1000000 macro30 #define NSECS_PER_SEC (USECS_PER_SEC * NSECS_PER_USEC)
520 #define USECS_PER_SEC 1000000 /* microseconds per second */ macro531 return (((uint64_t) curtime.tv_sec) * USECS_PER_SEC) + curtime.tv_usec; in get_current_time()569 (uint64_t) (USECS_PER_SEC * STD_LOOP_DURATION) in usc_test_looping()578 delay = USECS_PER_SEC * STD_LOOP_DELAY; in usc_test_looping()
326 #define USECS_PER_SEC 1000000 /* microseconds per second */ macro1359 delaytime = (int)((float)USECS_PER_SEC * delaysecs); in main()1562 ct = curtime.tv_sec * USECS_PER_SEC + in main()1568 ct = curtime.tv_sec * USECS_PER_SEC + in main()