Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/resctrl/
Dmbm_test.c23 float avg_diff = 0; in show_bw_info() local
36 avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc; in show_bw_info()
37 avg_diff_per = (int)(avg_diff * 100); in show_bw_info()
Dmba_test.c85 float avg_diff; in show_mba_info() local
99 avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc; in show_mba_info()
100 avg_diff_per = (int)(avg_diff * 100); in show_mba_info()
Dcmt_test.c57 long avg_diff = 0; in show_results_info() local
61 avg_diff = (long)(cache_span - avg_llc_val); in show_results_info()
65 labs(avg_diff) > max_diff; in show_results_info()
Dcat_test.c39 float avg_diff; in show_results_info() local
46 avg_diff = delta / *prev_avg_llc_val; in show_results_info()
47 ret = platform && (avg_diff * 100) < (float)min_diff_percent; in show_results_info()
52 ksft_print_msg("Percent diff=%.1f\n", avg_diff * 100); in show_results_info()