Home
last modified time | relevance | path

Searched refs:count_of_bits (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/tools/testing/selftests/resctrl/
Dcat_test.c20 int count_of_bits; variable
152 count_of_bits = count_bits(long_mask); in cat_perf_miss_val()
154 if (n < 1 || n > count_of_bits - 1) { in cat_perf_miss_val()
157 count_of_bits - 1); in cat_perf_miss_val()
179 param.span = cache_size * (count_of_bits - n) / count_of_bits; in cat_perf_miss_val()
200 param.span = cache_size * n / count_of_bits; in cat_perf_miss_val()
Dcqm_test.c19 int count_of_bits; variable
139 count_of_bits = count_bits(long_mask); in cqm_resctrl_val()
141 if (n < 1 || n > count_of_bits) { in cqm_resctrl_val()
143 printf("Please Enter value in range 1 to %d\n", count_of_bits); in cqm_resctrl_val()
155 .span = cache_size * n / count_of_bits, in cqm_resctrl_val()