Searched refs:cycles (Results 1 – 3 of 3) sorted by relevance
46 uint64_t cycles = 0; in udelay() local49 cycles = (uint64_t)us * ((uint64_t)plat_get_freq() / 1000000ULL); in udelay()51 while (cycles) { in udelay()52 cycles_to_wait = MIN(cycles, UINT32_MAX); in udelay()54 cycles -= cycles_to_wait; in udelay()
395 cycles, ratio, millisecs, secs, hardfail, \413 unsigned long cycles = 0, ratio = 0; in mbedtls_timing_self_test() local495 cycles = mbedtls_timing_hardclock(); in mbedtls_timing_self_test()497 cycles = mbedtls_timing_hardclock() - cycles; in mbedtls_timing_self_test()498 ratio = cycles / millisecs; in mbedtls_timing_self_test()503 cycles = mbedtls_timing_hardclock(); in mbedtls_timing_self_test()505 cycles = mbedtls_timing_hardclock() - cycles; in mbedtls_timing_self_test()508 if( cycles / millisecs < ratio - ratio / 5 || in mbedtls_timing_self_test()509 cycles / millisecs > ratio + ratio / 5 ) in mbedtls_timing_self_test()
18 void wait_cycles(unsigned long cycles);
Completed in 3 milliseconds