Searched refs:nnmathMakeRate (Results 1 – 2 of 2) sorted by relevance
322 return nnmathMultiplyRate(us, nnmathMakeRate(NN_HW_TICKS_PER_SECOND, 1000 * 1000)); in nnosTickConvertFromMicroSeconds()334 return nnmathMultiplyRate(ms, nnmathMakeRate(NN_HW_TICKS_PER_SECOND, 1000)); in nnosTickConvertFromMilliSeconds()346 return nnmathMultiplyRate(s, nnmathMakeRate(NN_HW_TICKS_PER_SECOND, 1)); in nnosTickConvertFromSeconds()358 return nnmathMultiplyRate(tick, nnmathMakeRate(1000 * 1000 * 1000, NN_HW_TICKS_PER_SECOND)); in nnosTickConvertToNanoSeconds()
79 NN_EXTERN_C inline u64 nnmathMakeRate(u32 mul, u32 div) in nnmathMakeRate() function