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");
191 uparams.benchmark_cmd[i] = argv[i + optind];
192 uparams.benchmark_cmd[i] = NULL;
266 if (!uparams.benchmark_cmd[0]) {
268 uparams.benchmark_cmd[0] = "fill_buf";
272 uparams.benchmark_cmd[1] = span_str;
273 uparams.benchmark_cmd[2] = "1";
274 uparams.benchmark_cmd[3] = "0";
275 uparams.benchmark_cmd[
[all...]
H A Dresctrl_val.c639 char **benchmark_cmd; local
644 benchmark_cmd = info->si_ptr;
656 if (strcmp(benchmark_cmd[0], "fill_buf") == 0) {
658 span = strtoul(benchmark_cmd[1], NULL, 10);
659 memflush = atoi(benchmark_cmd[2]);
660 operation = atoi(benchmark_cmd[3]);
661 if (!strcmp(benchmark_cmd[4], "true")) {
663 } else if (!strcmp(benchmark_cmd[4], "false")) {
674 ret = execvp(benchmark_cmd[0], benchmark_cmd);
694 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
157 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 86 milliseconds