Searched refs:benchmark_cmd (Results 1 – 8 of 8) sorted by relevance
/linux/tools/testing/selftests/resctrl/ |
A D | resctrl_tests.c | 70 sprintf(benchmark_cmd[5], "%s", MBA_STR); in run_mbm_test() 89 sprintf(benchmark_cmd[1], "%d", span); in run_mba_test() 106 sprintf(benchmark_cmd[5], "%s", CMT_STR); in run_cmt_test() 219 benchmark_cmd[ben_count] = NULL; in main() 225 strcpy(benchmark_cmd[0], "fill_buf"); in main() 226 sprintf(benchmark_cmd[1], "%d", span); in main() 227 strcpy(benchmark_cmd[2], "1"); in main() 228 strcpy(benchmark_cmd[3], "1"); in main() 229 strcpy(benchmark_cmd[4], "0"); in main() 230 strcpy(benchmark_cmd[5], ""); in main() [all …]
|
A D | resctrlfs.c | 310 char **benchmark_cmd; in run_benchmark() local 314 benchmark_cmd = info->si_ptr; in run_benchmark() 324 if (strcmp(benchmark_cmd[0], "fill_buf") == 0) { in run_benchmark() 326 span = strtoul(benchmark_cmd[1], NULL, 10); in run_benchmark() 327 malloc_and_init_memory = atoi(benchmark_cmd[2]); in run_benchmark() 328 memflush = atoi(benchmark_cmd[3]); in run_benchmark() 329 operation = atoi(benchmark_cmd[4]); in run_benchmark() 330 sprintf(resctrl_val, "%s", benchmark_cmd[5]); in run_benchmark() 342 ret = execvp(benchmark_cmd[0], benchmark_cmd); in run_benchmark()
|
A D | resctrl.h | 98 int resctrl_val(char **benchmark_cmd, struct resctrl_val_param *param); 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); 110 int cmt_resctrl_val(int cpu_no, int n, char **benchmark_cmd);
|
A D | cmt_test.c | 83 int cmt_resctrl_val(int cpu_no, int n, char **benchmark_cmd) in cmt_resctrl_val() argument 129 if (strcmp(benchmark_cmd[0], "fill_buf") == 0) in cmt_resctrl_val() 130 sprintf(benchmark_cmd[1], "%lu", param.span); in cmt_resctrl_val() 134 ret = resctrl_val(benchmark_cmd, ¶m); in cmt_resctrl_val()
|
A D | mbm_test.c | 117 int mbm_bw_change(int span, int cpu_no, char *bw_report, char **benchmark_cmd) in mbm_bw_change() argument 134 ret = resctrl_val(benchmark_cmd, ¶m); in mbm_bw_change()
|
A D | mba_test.c | 145 int mba_schemata_change(int cpu_no, char *bw_report, char **benchmark_cmd) in mba_schemata_change() argument 161 ret = resctrl_val(benchmark_cmd, ¶m); in mba_schemata_change()
|
A D | README | 48 usage: resctrl_tests [-h] [-b "benchmark_cmd [options]"] [-t test list] [-n no_of_bits] 49 …-b benchmark_cmd [options]: run specified benchmark for MBM, MBA and CMT default benchmark is buil…
|
A D | resctrl_val.c | 593 int resctrl_val(char **benchmark_cmd, struct resctrl_val_param *param) in resctrl_val() argument 687 value.sival_ptr = benchmark_cmd; in resctrl_val()
|
Completed in 9 milliseconds