Searched refs:cycles (Results 1 – 2 of 2) sorted by relevance
396 cycles, ratio, millisecs, secs, hardfail, \414 unsigned long cycles = 0, ratio = 0; in mbedtls_timing_self_test() local496 cycles = mbedtls_timing_hardclock(); in mbedtls_timing_self_test()498 cycles = mbedtls_timing_hardclock() - cycles; in mbedtls_timing_self_test()499 ratio = cycles / millisecs; in mbedtls_timing_self_test()504 cycles = mbedtls_timing_hardclock(); in mbedtls_timing_self_test()506 cycles = mbedtls_timing_hardclock() - cycles; in mbedtls_timing_self_test()509 if( cycles / millisecs < ratio - ratio / 5 || in mbedtls_timing_self_test()510 cycles / millisecs > ratio + ratio / 5 ) in mbedtls_timing_self_test()
753 * Do a few encode/decode cycles