Searched refs:NS_PER_SEC (Results 1 – 1 of 1) sorted by relevance
32 #define NS_PER_SEC (1000000000ULL) macro40 tv_nsec_ticks = (ts->tv_nsec * freq) / NS_PER_SEC; in ts_to_ticks()51 ns = howmany(ticks * NS_PER_SEC, freq); in ticks_to_ts()53 ts->tv_sec = ns / NS_PER_SEC; in ticks_to_ts()54 ts->tv_nsec = ns % NS_PER_SEC; in ticks_to_ts()
Completed in 2 milliseconds