Lines Matching refs:assert_within_epsilon
138 #define assert_within_epsilon(x, ref, tolerance) \ macro
295 assert_within_epsilon(val, flags & TEST_BUSY ? slept : 0.f, tolerance); in single()
306 assert_within_epsilon(val, 0, tolerance); in single()
341 assert_within_epsilon(val, ts[1] - ts[0], tolerance); in busy_start()
409 assert_within_epsilon(val, ts[1] - ts[0], tolerance); in busy_double_start()
475 assert_within_epsilon(val[busy_idx], slept, tolerance); in busy_check_all()
479 assert_within_epsilon(val[i], 0.0f, tolerance); in busy_check_all()
548 assert_within_epsilon(val[i], 0.0f, tolerance); in most_busy_check_all()
550 assert_within_epsilon(val[i], slept, tolerance); in most_busy_check_all()
601 assert_within_epsilon(val[i], slept, tolerance); in all_busy_check_all()
635 assert_within_epsilon(val[0][0], 0.0f, tolerance); in no_sema()
636 assert_within_epsilon(val[0][1], 0.0f, tolerance); in no_sema()
741 assert_within_epsilon(val[1] - val[0], slept, tolerance); in sema_wait()
969 assert_within_epsilon(val[0], perf_slept[0], tolerance); in multi_client()
970 assert_within_epsilon(val[1], perf_slept[1], tolerance); in multi_client()
1168 assert_within_epsilon(val, ts[1] - ts[0], tolerance); in cpu_hotplug()
1367 assert_within_epsilon(min[0], min_freq, tolerance); in test_frequency()
1441 assert_within_epsilon(idle - prev, ts[1] - ts[0], tolerance); in test_rc6()
1458 assert_within_epsilon(busy - prev, 0.0, tolerance); in test_rc6()
1561 assert_within_epsilon((double)busy_us / cycle_us, in accuracy()