Home
last modified time | relevance | path

Searched refs:bw_report (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/tools/testing/selftests/resctrl/
Dresctrl_tests.c74 int cpu_no, char *bw_report) in run_mbm_test() argument
91 res = mbm_bw_change(span, cpu_no, bw_report, benchmark_cmd); in run_mbm_test()
100 static void run_mba_test(char **benchmark_cmd, int cpu_no, char *bw_report) in run_mba_test() argument
117 res = mba_schemata_change(cpu_no, bw_report, benchmark_cmd); in run_mba_test()
177 char *benchmark_cmd[BENCHMARK_ARGS], bw_report[64], bm_type[64]; in main() local
277 sprintf(bw_report, "reads"); in main()
291 run_mbm_test(benchmark_cmd, span, cpu_no, bw_report); in main()
294 run_mba_test(benchmark_cmd, cpu_no, bw_report); in main()
Dresctrl.h67 char *bw_report; member
88 int validate_bw_report_request(char *bw_report);
101 int mbm_bw_change(size_t span, int cpu_no, char *bw_report, char **benchmark_cmd);
104 int mba_schemata_change(int cpu_no, char *bw_report, char **benchmark_cmd);
Dmbm_test.c112 int mbm_bw_change(size_t span, int cpu_no, char *bw_report, char **benchmark_cmd) in mbm_bw_change() argument
121 .bw_report = bw_report, in mbm_bw_change()
Dmba_test.c144 int mba_schemata_change(int cpu_no, char *bw_report, char **benchmark_cmd) in mba_schemata_change() argument
152 .bw_report = bw_report, in mba_schemata_change()
Dresctrlfs.c709 int validate_bw_report_request(char *bw_report) in validate_bw_report_request() argument
711 if (strcmp(bw_report, "reads") == 0) in validate_bw_report_request()
713 if (strcmp(bw_report, "writes") == 0) in validate_bw_report_request()
715 if (strcmp(bw_report, "nt-writes") == 0) { in validate_bw_report_request()
716 strcpy(bw_report, "writes"); in validate_bw_report_request()
719 if (strcmp(bw_report, "total") == 0) in validate_bw_report_request()
Dresctrl_val.c305 static int get_mem_bw_imc(int cpu_no, char *bw_report, float *bw_imc) in get_mem_bw_imc() argument
376 if (strcmp(bw_report, "reads") == 0) { in get_mem_bw_imc()
381 if (strcmp(bw_report, "writes") == 0) { in get_mem_bw_imc()
606 ret = get_mem_bw_imc(param->cpu_no, param->bw_report, &bw_imc); in measure_vals()
646 ret = validate_bw_report_request(param->bw_report); in resctrl_val()