Searched refs:US_PER_S (Results 1 – 2 of 2) sorted by relevance
70 #define US_PER_S 1000000UL macro289 uint64_t us = CLOCKP_DIV_ROUND((uint64_t)ticks * US_PER_S, ClockP_getSystemTickFreq()); in ClockP_convertSystemTicksToUsRound()317 ticks = ((uint64_t)us * ClockP_getSystemTickFreq()) / US_PER_S; in ClockP_convertUsToSystemTicksFloor()345 ticks = CLOCKP_DIV_ROUND_UP((uint64_t)us * ClockP_getSystemTickFreq(), US_PER_S); in ClockP_convertUsToSystemTicksCeil()373 ticks = CLOCKP_DIV_ROUND((uint64_t)us * ClockP_getSystemTickFreq(), US_PER_S); in ClockP_convertUsToSystemTicksRound()
10 #define CLOCKP_TICK_PERIOD (US_PER_S / CONFIG_SYS_CLOCK_TICKS_PER_SEC);