Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/
Dresctrl.h59 char *bw_report; member
81 int validate_bw_report_request(char *bw_report);
95 int mbm_bw_change(int span, int cpu_no, char *bw_report, char **benchmark_cmd);
98 int mba_schemata_change(int cpu_no, char *bw_report, char **benchmark_cmd);
Dresctrl_tests.c61 char *benchmark_cmd[BENCHMARK_ARGS], bw_report[64], bm_type[64]; in main() local
155 sprintf(bw_report, "reads"); in main()
165 res = mbm_bw_change(span, cpu_no, bw_report, benchmark_cmd); in main()
175 res = mba_schemata_change(cpu_no, bw_report, benchmark_cmd); in main()
Dmbm_test.c114 int mbm_bw_change(int span, int cpu_no, char *bw_report, char **benchmark_cmd) in mbm_bw_change() argument
124 .bw_report = bw_report, in mbm_bw_change()
Dmba_test.c141 int mba_schemata_change(int cpu_no, char *bw_report, char **benchmark_cmd) in mba_schemata_change() argument
150 .bw_report = bw_report, in mba_schemata_change()
Dresctrlfs.c685 int validate_bw_report_request(char *bw_report) in validate_bw_report_request() argument
687 if (strcmp(bw_report, "reads") == 0) in validate_bw_report_request()
689 if (strcmp(bw_report, "writes") == 0) in validate_bw_report_request()
691 if (strcmp(bw_report, "nt-writes") == 0) { in validate_bw_report_request()
692 strcpy(bw_report, "writes"); in validate_bw_report_request()
695 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()
567 ret = get_mem_bw_imc(param->cpu_no, param->bw_report, &bw_imc); in measure_vals()
607 ret = validate_bw_report_request(param->bw_report); in resctrl_val()