Lines Matching refs:millisecs
396 cycles, ratio, millisecs, secs, hardfail, \
415 unsigned long millisecs = 0, secs = 0; in mbedtls_timing_self_test() local
436 millisecs = mbedtls_timing_get_timer( &hires, 0 ); in mbedtls_timing_self_test()
440 if( millisecs < 800 * secs || millisecs > 1200 * secs + 300 ) in mbedtls_timing_self_test()
495 millisecs = 1; in mbedtls_timing_self_test()
497 busy_msleep( millisecs ); in mbedtls_timing_self_test()
499 ratio = cycles / millisecs; in mbedtls_timing_self_test()
502 for( millisecs = 2; millisecs <= 4; millisecs++ ) in mbedtls_timing_self_test()
505 busy_msleep( millisecs ); 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()