Searched refs:benchmark_cmd (Results 1 – 7 of 7) sorted by relevance
/linux/tools/testing/selftests/resctrl/ |
H A D | resctrl_tests.c | 185 uparams.benchmark_cmd[i] = argv[i + optind]; in main() 186 uparams.benchmark_cmd[i] = NULL; in main() 260 if (!uparams.benchmark_cmd[0]) { in main() 262 uparams.benchmark_cmd[0] = "fill_buf"; in main() 266 uparams.benchmark_cmd[1] = span_str; in main() 267 uparams.benchmark_cmd[2] = "1"; in main() 268 uparams.benchmark_cmd[3] = "0"; in main() 269 uparams.benchmark_cmd[4] = "false"; in main() 270 uparams.benchmark_cmd[5] = NULL; in main()
|
H A D | resctrl_val.c | 627 char **benchmark_cmd; in run_benchmark() local 632 benchmark_cmd = info->si_ptr; in run_benchmark() 644 if (strcmp(benchmark_cmd[0], "fill_buf") == 0) { in run_benchmark() 646 span = strtoul(benchmark_cmd[1], NULL, 10); in run_benchmark() 647 memflush = atoi(benchmark_cmd[2]); in run_benchmark() 648 operation = atoi(benchmark_cmd[3]); in run_benchmark() 649 if (!strcmp(benchmark_cmd[4], "true")) { in run_benchmark() 651 } else if (!strcmp(benchmark_cmd[4], "false")) { in run_benchmark() 662 ret = execvp(benchmark_cmd[0], benchmark_cmd); in run_benchmark() 684 const char * const *benchmark_cmd, in resctrl_val() argument [all …]
|
H A D | cmt_test.c | 119 const char * const *cmd = uparams->benchmark_cmd; in cmt_run_test() 160 for (i = 0; uparams->benchmark_cmd[i]; i++) in cmt_run_test() 161 new_cmd[i] = uparams->benchmark_cmd[i]; in cmt_run_test()
|
H A D | resctrl.h | 55 const char *benchmark_cmd[BENCHMARK_ARGS]; member 154 const char * const *benchmark_cmd,
|
H A D | README | 73 usage: resctrl_tests [-h] [-b "benchmark_cmd [options]"] [-t test list] [-n no_of_bits] 74 …-b benchmark_cmd [options]: run specified benchmark for MBM, MBA and CMT default benchmark is buil…
|
H A D | mbm_test.c | 145 ret = resctrl_val(test, uparams, uparams->benchmark_cmd, ¶m); in mbm_run_test()
|
H A D | mba_test.c | 177 ret = resctrl_val(test, uparams, uparams->benchmark_cmd, ¶m); in mba_run_test()
|