Home
last modified time | relevance | path

Searched refs:resctrl_val (Results 1 – 9 of 9) sorted by relevance

/tools/testing/selftests/resctrl/
Dfill_buf.c113 char *resctrl_val) in fill_cache_read() argument
120 if (!strncmp(resctrl_val, CAT_STR, sizeof(CAT_STR))) in fill_cache_read()
137 char *resctrl_val) in fill_cache_write() argument
141 if (!strncmp(resctrl_val, CAT_STR, sizeof(CAT_STR))) in fill_cache_write()
150 int op, char *resctrl_val) in fill_cache() argument
183 ret = fill_cache_read(start_ptr, end_ptr, resctrl_val); in fill_cache()
185 ret = fill_cache_write(start_ptr, end_ptr, resctrl_val); in fill_cache()
199 int memflush, int op, char *resctrl_val) in run_fill_buf() argument
211 resctrl_val); in run_fill_buf()
Dresctrlfs.c311 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 …]
Dresctrl.h62 char *resctrl_val; member
91 bool validate_resctrl_feature_request(const char *resctrl_val);
96 char *resctrl_val);
98 char *resctrl_val);
103 int resctrl_val(char **benchmark_cmd, struct resctrl_val_param *param);
Dcache.c183 if (!strncmp(param->resctrl_val, CAT_STR, sizeof(CAT_STR))) { in measure_cache_vals()
193 if (!strncmp(param->resctrl_val, CMT_STR, sizeof(CMT_STR))) { in measure_cache_vals()
216 char *resctrl_val = param->resctrl_val; in cat_val() local
231 resctrl_val); in cat_val()
235 if (!strncmp(resctrl_val, CAT_STR, sizeof(CAT_STR))) { in cat_val()
243 if (!strncmp(resctrl_val, CAT_STR, sizeof(CAT_STR))) { in cat_val()
256 memflush, operation, resctrl_val)) { in cat_val()
Dresctrl_val.c414 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 …]
Dmbm_test.c107 p->resctrl_val); in mbm_setup()
120 .resctrl_val = MBM_STR, in mbm_bw_change()
134 ret = resctrl_val(benchmark_cmd, &param); in mbm_bw_change()
Dmba_test.c50 p->resctrl_val); in mba_setup()
153 .resctrl_val = MBA_STR, in mba_schemata_change()
166 ret = resctrl_val(benchmark_cmd, &param); in mba_schemata_change()
Dcmt_test.c114 .resctrl_val = CMT_STR, in cmt_resctrl_val()
131 ret = resctrl_val(benchmark_cmd, &param); in cmt_resctrl_val()
Dcat_test.c48 p->resctrl_val); in cat_setup()
146 .resctrl_val = CAT_STR, in cat_perf_miss_val()