Home
last modified time | relevance | path

Searched refs:cycles (Results 1 – 2 of 2) sorted by relevance

/openthread-2.7.6/third_party/mbedtls/repo/library/
Dtiming.c396 cycles, ratio, millisecs, secs, hardfail, \
414 unsigned long cycles = 0, ratio = 0; in mbedtls_timing_self_test() local
496 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()
/openthread-2.7.6/third_party/mbedtls/repo/tests/suites/
Dtest_suite_cipher.function753 * Do a few encode/decode cycles