Home
last modified time | relevance | path

Searched refs:bw_report (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/tools/testing/selftests/resctrl/
Dresctrlfs.c834 const char *get_bw_report_type(const char *bw_report) in get_bw_report_type() argument
836 if (strcmp(bw_report, "reads") == 0) in get_bw_report_type()
837 return bw_report; in get_bw_report_type()
838 if (strcmp(bw_report, "writes") == 0) in get_bw_report_type()
839 return bw_report; in get_bw_report_type()
840 if (strcmp(bw_report, "nt-writes") == 0) { in get_bw_report_type()
843 if (strcmp(bw_report, "total") == 0) in get_bw_report_type()
844 return bw_report; in get_bw_report_type()
Dresctrl_val.c352 static int get_mem_bw_imc(const char *bw_report, float *bw_imc) in get_mem_bw_imc() argument
399 if (strcmp(bw_report, "reads") == 0) { in get_mem_bw_imc()
404 if (strcmp(bw_report, "writes") == 0) { in get_mem_bw_imc()
568 const char *bw_report) in measure_mem_bw() argument
575 bw_report = get_bw_report_type(bw_report); in measure_mem_bw()
576 if (!bw_report) in measure_mem_bw()
599 ret = get_mem_bw_imc(bw_report, &bw_imc); in measure_mem_bw()
Dresctrl.h129 const char *get_bw_report_type(const char *bw_report);
149 const char *bw_report);