Lines Matching +full:- +full:runs
1 // SPDX-License-Identifier: GPL-2.0
31 if (p->num_of_runs >= NUM_OF_RUNS) in cat_setup()
34 if (p->num_of_runs == 0) { in cat_setup()
35 sprintf(schemata, "%lx", p->mask); in cat_setup()
36 ret = write_schemata(p->ctrlgrp, schemata, p->cpu_no, in cat_setup()
37 p->resctrl_val); in cat_setup()
39 p->num_of_runs++; in cat_setup()
48 int runs = 0, no_of_bits = 0; in check_results() local
52 fp = fopen(param->filename, "r"); in check_results()
71 if (runs > 0) in check_results()
73 runs++; in check_results()
77 no_of_bits = count_bits(param->mask); in check_results()
80 MAX_DIFF, MAX_DIFF_PERCENT, runs - 1, in check_results()
114 /* Get max number of bits from default-cabm mask */ in cat_perf_miss_val()
120 if (n > count_of_bits - 1) { in cat_perf_miss_val()
123 count_of_bits - 1); in cat_perf_miss_val()
124 return -1; in cat_perf_miss_val()
130 return -1; in cat_perf_miss_val()
142 * with (max_bits - n) bits in cat_perf_miss_val()
144 span = cache_size * (count_of_bits - n) / count_of_bits; in cat_perf_miss_val()