Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/resctrl/
Dresctrl_tests.c58 int cpu_no, char *bw_report) in run_mbm_test() argument
71 res = mbm_bw_change(span, cpu_no, bw_report, benchmark_cmd); in run_mbm_test()
77 int cpu_no, char *bw_report) in run_mba_test() argument
90 res = mba_schemata_change(cpu_no, bw_report, benchmark_cmd); in run_mba_test()
132 char *benchmark_cmd[BENCHMARK_ARGS], bw_report[64], bm_type[64]; in main() local
234 sprintf(bw_report, "reads"); in main()
245 run_mbm_test(has_ben, benchmark_cmd, span, cpu_no, bw_report); in main()
248 run_mba_test(has_ben, benchmark_cmd, span, cpu_no, bw_report); in main()
Dresctrl.h64 char *bw_report; member
85 int validate_bw_report_request(char *bw_report);
99 int mbm_bw_change(int span, int cpu_no, char *bw_report, char **benchmark_cmd);
102 int mba_schemata_change(int cpu_no, char *bw_report, char **benchmark_cmd);
Dmbm_test.c117 int mbm_bw_change(int span, int cpu_no, char *bw_report, char **benchmark_cmd) in mbm_bw_change() argument
127 .bw_report = bw_report, in mbm_bw_change()
Dmba_test.c145 int mba_schemata_change(int cpu_no, char *bw_report, char **benchmark_cmd) in mba_schemata_change() argument
154 .bw_report = bw_report, in mba_schemata_change()
Dresctrlfs.c708 int validate_bw_report_request(char *bw_report) in validate_bw_report_request() argument
710 if (strcmp(bw_report, "reads") == 0) in validate_bw_report_request()
712 if (strcmp(bw_report, "writes") == 0) in validate_bw_report_request()
714 if (strcmp(bw_report, "nt-writes") == 0) { in validate_bw_report_request()
715 strcpy(bw_report, "writes"); in validate_bw_report_request()
718 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()