Home
last modified time | relevance | path

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

/AliOS-Things-master/hardware/chip/rtl872xd/hal/hal_test/rng/
A Drng_test.c13 #define RNG_TEST_TIMES 1000 macro
17 uint32_t random_buf[RNG_TEST_TIMES];
34 printf("step1: read random number %d times ! \n", (int)RNG_TEST_TIMES); in hal_rng_test()
36 for (i = 0; i < RNG_TEST_TIMES; i++) in hal_rng_test()
45 for (i = 0; i < RNG_TEST_TIMES; ++i) in hal_rng_test()
47 for (j = i; j < (RNG_TEST_TIMES - i - 1); ++j) in hal_rng_test()
57 for (i = 0; i < RNG_TEST_TIMES - 1; i++) in hal_rng_test()
69 repeat_rate = (float)repeat_cnt / (float)RNG_TEST_TIMES; in hal_rng_test()

Completed in 4 milliseconds