/external/linux-kselftest/tools/testing/selftests/resctrl/ |
D | resctrlfs.c | 311 char resctrl_val[64]; in run_benchmark() local 330 sprintf(resctrl_val, "%s", benchmark_cmd[5]); in run_benchmark() 332 if (strncmp(resctrl_val, CMT_STR, sizeof(CMT_STR))) in run_benchmark() 338 operation, resctrl_val)) in run_benchmark() 436 char *resctrl_val) in write_bm_pid_to_resctrl() argument 457 if (!strncmp(resctrl_val, CMT_STR, sizeof(CMT_STR)) || in write_bm_pid_to_resctrl() 458 !strncmp(resctrl_val, MBM_STR, sizeof(MBM_STR))) { in write_bm_pid_to_resctrl() 494 int write_schemata(char *ctrlgrp, char *schemata, int cpu_no, char *resctrl_val) in write_schemata() argument 500 if (strncmp(resctrl_val, MBA_STR, sizeof(MBA_STR)) && in write_schemata() 501 strncmp(resctrl_val, CAT_STR, sizeof(CAT_STR)) && in write_schemata() [all …]
|
D | fill_buf.c | 111 char *resctrl_val) in fill_cache_read() argument 118 if (!strncmp(resctrl_val, CAT_STR, sizeof(CAT_STR))) in fill_cache_read() 133 char *resctrl_val) in fill_cache_write() argument 137 if (!strncmp(resctrl_val, CAT_STR, sizeof(CAT_STR))) in fill_cache_write() 146 int op, char *resctrl_val) in fill_cache() argument 179 ret = fill_cache_read(start_ptr, end_ptr, resctrl_val); in fill_cache() 181 ret = fill_cache_write(start_ptr, end_ptr, resctrl_val); in fill_cache() 194 int memflush, int op, char *resctrl_val) in run_fill_buf() argument 206 resctrl_val); in run_fill_buf()
|
D | resctrl_val.c | 414 int cpu_no, char *resctrl_val) in initialize_mem_bw_resctrl() argument 423 if (!strncmp(resctrl_val, MBM_STR, sizeof(MBM_STR))) in initialize_mem_bw_resctrl() 426 if (!strncmp(resctrl_val, MBA_STR, sizeof(MBA_STR))) { in initialize_mem_bw_resctrl() 540 int cpu_no, char *resctrl_val) in initialize_llc_occu_resctrl() argument 549 if (!strncmp(resctrl_val, CMT_STR, sizeof(CMT_STR))) in initialize_llc_occu_resctrl() 593 int resctrl_val(char **benchmark_cmd, struct resctrl_val_param *param) in resctrl_val() function 595 char *resctrl_val = param->resctrl_val; in resctrl_val() local 605 if (!strncmp(resctrl_val, MBA_STR, sizeof(MBA_STR)) || in resctrl_val() 606 !strncmp(resctrl_val, MBM_STR, sizeof(MBM_STR))) { in resctrl_val() 696 resctrl_val); in resctrl_val() [all …]
|
D | cache.c | 185 if (!strncmp(param->resctrl_val, CAT_STR, sizeof(CAT_STR))) { in measure_cache_vals() 195 if (!strncmp(param->resctrl_val, CMT_STR, sizeof(CMT_STR))) { in measure_cache_vals() 218 char *resctrl_val = param->resctrl_val; in cat_val() local 233 resctrl_val); in cat_val() 237 if (!strncmp(resctrl_val, CAT_STR, sizeof(CAT_STR))) { in cat_val() 245 if (!strncmp(resctrl_val, CAT_STR, sizeof(CAT_STR))) { in cat_val() 256 memflush, operation, resctrl_val)) { in cat_val()
|
D | resctrl.h | 57 char *resctrl_val; member 86 bool validate_resctrl_feature_request(const char *resctrl_val); 91 char *resctrl_val); 93 char *resctrl_val); 98 int resctrl_val(char **benchmark_cmd, struct resctrl_val_param *param);
|
D | mbm_test.c | 107 p->resctrl_val); in mbm_setup() 120 .resctrl_val = MBM_STR, in mbm_bw_change() 134 ret = resctrl_val(benchmark_cmd, ¶m); in mbm_bw_change()
|
D | mba_test.c | 48 write_schemata(p->ctrlgrp, allocation_str, p->cpu_no, p->resctrl_val); in mba_setup() 148 .resctrl_val = MBA_STR, in mba_schemata_change() 161 ret = resctrl_val(benchmark_cmd, ¶m); in mba_schemata_change()
|
D | cmt_test.c | 117 .resctrl_val = CMT_STR, in cmt_resctrl_val() 134 ret = resctrl_val(benchmark_cmd, ¶m); in cmt_resctrl_val()
|
D | cat_test.c | 48 p->resctrl_val); in cat_setup() 146 .resctrl_val = CAT_STR, in cat_perf_miss_val()
|