Lines Matching +full:- +full:runs
1 // SPDX-License-Identifier: GPL-2.0
43 ret = write_schemata(p->ctrlgrp, allocation_str, p->cpu_no, in mba_setup()
44 p->resctrl_val); in mba_setup()
48 allocation -= ALLOCATION_STEP; in mba_setup()
55 int allocation, runs; in show_mba_info() local
71 for (runs = NUM_OF_RUNS * allocation + 1; in show_mba_info()
72 runs < NUM_OF_RUNS * allocation + NUM_OF_RUNS ; runs++) { in show_mba_info()
73 sum_bw_imc += bw_imc[runs]; in show_mba_info()
74 sum_bw_resc += bw_resc[runs]; in show_mba_info()
77 avg_bw_imc = sum_bw_imc / (NUM_OF_RUNS - 1); in show_mba_info()
78 avg_bw_resc = sum_bw_resc / (NUM_OF_RUNS - 1); in show_mba_info()
79 avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc; in show_mba_info()
86 ALLOCATION_MAX - ALLOCATION_STEP * allocation); in show_mba_info()
107 int runs; in check_results() local
117 runs = 0; in check_results()
128 bw_imc[runs] = strtoul(token_array[3], NULL, 0); in check_results()
130 bw_resc[runs] = strtoul(token_array[5], NULL, 0); in check_results()
131 runs++; in check_results()