Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/tests/arch/common/timing/src/
Dmain.c30 uint64_t diff1, diff2, diff_all, freq_hz; in perform_tests() local
44 diff2 = arch_timing_cycles_get(&middle, &end); in perform_tests()
47 zassert_true(diff2 > 0, NULL); in perform_tests()
53 zassert_within(diff1, diff2, diff1 * TOLERANCE, NULL); in perform_tests()
54 zassert_within(diff_all, diff1 + diff2, (diff1 + diff2) * TOLERANCE, in perform_tests()
62 diff2_ns = arch_timing_cycles_to_ns(diff2); in perform_tests()
70 diff_avg_ns = arch_timing_cycles_to_ns_avg(diff1 + diff2, 2); in perform_tests()