Searched refs:USEC_PER_SEC (Results 1 – 10 of 10) sorted by relevance
49 #define USEC_PER_SEC 1000000LL macro224 tmx.time.tv_sec = offset / USEC_PER_SEC; in set_offset()225 tmx.time.tv_usec = offset % USEC_PER_SEC; in set_offset()229 tmx.time.tv_usec += USEC_PER_SEC; in set_offset()288 if (set_offset(USEC_PER_SEC - 1, 0)) in validate_set_offset()291 if (set_offset(-USEC_PER_SEC + 1, 0)) in validate_set_offset()294 if (set_offset(-USEC_PER_SEC - 1, 0)) in validate_set_offset()297 if (set_offset(5 * USEC_PER_SEC, 0)) in validate_set_offset()300 if (set_offset(-5 * USEC_PER_SEC, 0)) in validate_set_offset()303 if (set_offset(5 * USEC_PER_SEC + USEC_PER_SEC / 2, 0)) in validate_set_offset()[all …]
42 #define USEC_PER_SEC 1000000 macro195 systick = USEC_PER_SEC/sysconf(_SC_CLK_TCK); in main()
220 #define USEC_PER_SEC ((double)(1000000.0f)) in main() macro224 ((after_self.ru_utime.tv_usec) / USEC_PER_SEC)) + in main()226 ((after_children.ru_utime.tv_usec) / USEC_PER_SEC))); in main()230 ((before_self.ru_utime.tv_usec) / USEC_PER_SEC)) + in main()232 ((before_children.ru_utime.tv_usec) / USEC_PER_SEC))); in main()236 ((after_self.ru_stime.tv_usec) / USEC_PER_SEC)) + in main()238 ((after_children.ru_stime.tv_usec) / USEC_PER_SEC))); in main()242 ((before_self.ru_stime.tv_usec) / USEC_PER_SEC)) + in main()244 ((before_children.ru_stime.tv_usec) / USEC_PER_SEC))); in main()
488 #define USEC_PER_SEC 1000000 macro516 *usec = USEC_PER_SEC * (dt % CLOCKS_PER_SEC) / CLOCKS_PER_SEC; in picopal_get_timer()535 *usec = (unsigned int) ((double)USEC_PER_SEC * (dt / tf)) % USEC_PER_SEC; in picopal_get_timer()
56 return ((int64_t)ts.tv_sec) * USEC_PER_SEC + ts.tv_nsec / NSEC_PER_USEC;69 .tv_sec = (long)(us / USEC_PER_SEC),70 .tv_nsec = (us % USEC_PER_SEC) * NSEC_PER_USEC,549 return ((NSTimeInterval)microseconds + _sync.base) / USEC_PER_SEC;568 result.t = ((NSTimeInterval)microseconds + _sync.base) / USEC_PER_SEC;581 return ((NSTimeInterval)_sync.base) / USEC_PER_SEC;585 return ((NSTimeInterval)CurrentTime(_clock)) / USEC_PER_SEC;
41 #define USEC_PER_SEC 1000000 macro178 diff = USEC_PER_SEC * ((int) t1.tv_sec - (int) t2.tv_sec); in calcdiff()211 interval.tv_sec = par->interval / USEC_PER_SEC; in timerthread()212 interval.tv_nsec = (par->interval % USEC_PER_SEC) * 1000; in timerthread()
35 #define USEC_PER_SEC 1000000ULL macro460 return (unsigned long long) ts->tv_sec * USEC_PER_SEC + in ts_usec()
36 #define USEC_PER_SEC 1000000 macro83 diff = USEC_PER_SEC * ((int) t1.tv_sec - (int) t2.tv_sec); in calcdiff()
54 #define USEC_PER_SEC 1000000L macro
63 #define USEC_PER_SEC 1000000ULL macro65 #define TEST_TIMEOUT_USEC 2 * USEC_PER_SEC