Searched refs:freq (Results 1 – 1 of 1) sorted by relevance
35 ts_to_ticks(const uint32_t freq, const struct timespec *const ts) in ts_to_ticks() argument39 tv_sec_ticks = ts->tv_sec * freq; in ts_to_ticks()40 tv_nsec_ticks = (ts->tv_nsec * freq) / NS_PER_SEC; in ts_to_ticks()46 ticks_to_ts(const uint32_t freq, const uint64_t ticks, in ticks_to_ts() argument51 ns = howmany(ticks * NS_PER_SEC, freq); in ticks_to_ts()
Completed in 5 milliseconds