Lines Matching +full:- +full:runs
1 // SPDX-License-Identifier: GPL-2.0
22 int runs, ret, avg_diff_per; in show_bw_info() local
29 for (runs = 1; runs < NUM_OF_RUNS ; runs++) { in show_bw_info()
30 sum_bw_imc += bw_imc[runs]; in show_bw_info()
31 sum_bw_resc += bw_resc[runs]; in show_bw_info()
36 avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc; in show_bw_info()
55 int runs, ret; in check_results() local
67 runs = 0; in check_results()
77 bw_resc[runs] = strtoul(token_array[5], NULL, 0); in check_results()
78 bw_imc[runs] = strtoul(token_array[3], NULL, 0); in check_results()
79 runs++; in check_results()
94 if (p->num_of_runs >= NUM_OF_RUNS) in mbm_setup()
98 if (p->num_of_runs == 0) in mbm_setup()
99 ret = write_schemata(p->ctrlgrp, "100", p->cpu_no, in mbm_setup()
100 p->resctrl_val); in mbm_setup()
102 p->num_of_runs++; in mbm_setup()