Lines Matching refs:uint64_t

76 uint64_t	tsc_rebase_abs_time = 0;
78 static void rtc_set_timescale(uint64_t cycles);
79 static uint64_t rtc_export_speed(uint64_t cycles);
92 _absolutetime_to_microtime(uint64_t abstime, clock_sec_t *secs, clock_usec_t *microsecs)
95 *secs = abstime / (uint64_t)NSEC_PER_SEC;
96 remain = (uint32_t)(abstime % (uint64_t)NSEC_PER_SEC);
102 _absolutetime_to_nanotime(uint64_t abstime, clock_sec_t *secs, clock_usec_t *nanosecs)
104 *secs = abstime / (uint64_t)NSEC_PER_SEC;
105 *nanosecs = (clock_usec_t)(abstime % (uint64_t)NSEC_PER_SEC);
141 _rtc_nanotime_init(pal_rtc_nanotime_t *rntp, uint64_t base)
143 uint64_t tsc = rdtsc64();
149 rtc_nanotime_init(uint64_t base)
177 static inline uint64_t
191 rtc_clock_napped(uint64_t base, uint64_t tsc_base)
194 uint64_t oldnsecs;
195 uint64_t newnsecs;
196 uint64_t tsc;
220 rtc_clock_adjust(uint64_t tsc_base_delta)
255 uint64_t base)
286 uint64_t cycles;
323 rtc_set_timescale(uint64_t cycles)
335 rntp->scale = (uint32_t)(((uint64_t)NSEC_PER_SEC << 32) / cycles);
352 static uint64_t
353 rtc_export_speed(uint64_t cyc_per_sec)
356 uint64_t cycles;
385 uint64_t now = rtc_nanotime_read();
395 uint64_t now = rtc_nanotime_read();
402 uint64_t abstime,
403 uint64_t epoch,
404 uint64_t offset,
408 uint64_t now = abstime + offset;
432 uint64_t rip;
465 uint64_t
466 setPop(uint64_t time)
468 uint64_t now;
469 uint64_t pop;
488 uint64_t
498 uint64_t *result)
500 *result = (uint64_t)interval * scale_factor;
505 uint64_t abstime,
516 uint64_t *result)
518 *result = ((uint64_t)secs * NSEC_PER_SEC) + nanosecs;
523 uint64_t abstime,
524 uint64_t *result)
531 uint64_t nanoseconds,
532 uint64_t *result)
539 uint64_t interval,
540 uint64_t deadline)