Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/resctrl/
Dmbm_test.c18 show_bw_info(unsigned long *bw_imc, unsigned long *bw_resc, size_t span) in show_bw_info() argument
30 sum_bw_imc += bw_imc[runs]; in show_bw_info()
52 unsigned long bw_imc[NUM_OF_RUNS], bw_resc[NUM_OF_RUNS]; in check_results() local
78 bw_imc[runs] = strtoul(token_array[3], NULL, 0); in check_results()
82 ret = show_bw_info(bw_imc, bw_resc, span); in check_results()
Dmba_test.c73 static bool show_mba_info(unsigned long *bw_imc, unsigned long *bw_resc) in show_mba_info() argument
93 sum_bw_imc += bw_imc[runs]; in show_mba_info()
126 unsigned long bw_imc[1024], bw_resc[1024]; in check_results() local
148 bw_imc[runs] = strtoul(token_array[3], NULL, 0); in check_results()
156 return show_mba_info(bw_imc, bw_resc); in check_results()
Dresctrl_val.c352 static int get_mem_bw_imc(const char *bw_report, float *bw_imc) in get_mem_bw_imc() argument
400 *bw_imc = reads; in get_mem_bw_imc()
405 *bw_imc = writes; in get_mem_bw_imc()
409 *bw_imc = reads + writes; in get_mem_bw_imc()
525 static int print_results_bw(char *filename, pid_t bm_pid, float bw_imc, in print_results_bw() argument
528 unsigned long diff = fabs(bw_imc - bw_resc); in print_results_bw()
532 printf("Pid: %d \t Mem_BW_iMC: %f \t ", (int)bm_pid, bw_imc); in print_results_bw()
542 (int)bm_pid, bw_imc, bw_resc, diff) <= 0) { in print_results_bw()
572 float bw_imc; in measure_mem_bw() local
599 ret = get_mem_bw_imc(bw_report, &bw_imc); in measure_mem_bw()
[all …]