Searched refs:benchmark_cmd (Results 1 - 6 of 6) sorted by relevance

/linux-master/tools/testing/selftests/resctrl/
H A Dresctrl_tests.c67 printf("usage: resctrl_tests [-h] [-t test list] [-n no_of_bits] [-b benchmark_cmd [option]...]\n");
68 printf("\t-b benchmark_cmd [option]...: run specified benchmark for MBM, MBA and CMT\n");
185 uparams.benchmark_cmd[i] = argv[i + optind];
186 uparams.benchmark_cmd[i] = NULL;
260 if (!uparams.benchmark_cmd[0]) {
262 uparams.benchmark_cmd[0] = "fill_buf";
266 uparams.benchmark_cmd[1] = span_str;
267 uparams.benchmark_cmd[2] = "1";
268 uparams.benchmark_cmd[3] = "0";
269 uparams.benchmark_cmd[
[all...]
H A Dresctrl_val.c643 char **benchmark_cmd; local
648 benchmark_cmd = info->si_ptr;
660 if (strcmp(benchmark_cmd[0], "fill_buf") == 0) {
662 span = strtoul(benchmark_cmd[1], NULL, 10);
663 memflush = atoi(benchmark_cmd[2]);
664 operation = atoi(benchmark_cmd[3]);
665 if (!strcmp(benchmark_cmd[4], "true")) {
667 } else if (!strcmp(benchmark_cmd[4], "false")) {
678 ret = execvp(benchmark_cmd[0], benchmark_cmd);
698 resctrl_val(const struct resctrl_test *test, const struct user_params *uparams, const char * const *benchmark_cmd, struct resctrl_val_param *param) argument
[all...]
H A Dcmt_test.c101 const char * const *cmd = uparams->benchmark_cmd;
142 for (i = 0; uparams->benchmark_cmd[i]; i++)
143 new_cmd[i] = uparams->benchmark_cmd[i];
H A Dresctrl.h57 * @benchmark_cmd: Benchmark command to run during (some of the) tests
62 const char *benchmark_cmd[BENCHMARK_ARGS]; member in struct:user_params
159 const char * const *benchmark_cmd,
H A Dmbm_test.c127 ret = resctrl_val(test, uparams, uparams->benchmark_cmd, &param);
H A Dmba_test.c159 ret = resctrl_val(test, uparams, uparams->benchmark_cmd, &param);

Completed in 110 milliseconds