Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/resctrl/
Dmbm_test.c18 show_bw_info(unsigned long *bw_imc, unsigned long *bw_resc, int span) in show_bw_info() argument
30 sum_bw_imc += bw_imc[runs]; in show_bw_info()
49 unsigned long bw_imc[NUM_OF_RUNS], bw_resc[NUM_OF_RUNS]; in check_results() local
75 bw_imc[runs] = strtoul(token_array[3], NULL, 0); in check_results()
79 show_bw_info(bw_imc, bw_resc, span); in check_results()
Dmba_test.c54 static void show_mba_info(unsigned long *bw_imc, unsigned long *bw_resc) in show_mba_info() argument
73 sum_bw_imc += bw_imc[runs]; in show_mba_info()
101 unsigned long bw_imc[1024], bw_resc[1024]; in check_results() local
123 bw_imc[runs] = strtoul(token_array[3], NULL, 0); in check_results()
131 show_mba_info(bw_imc, bw_resc); in check_results()
Dresctrl_val.c466 static int print_results_bw(char *filename, int bm_pid, float bw_imc, in print_results_bw() argument
469 unsigned long diff = fabs(bw_imc - bw_resc); in print_results_bw()
473 printf("Pid: %d \t Mem_BW_iMC: %f \t ", bm_pid, bw_imc); in print_results_bw()
483 bm_pid, bw_imc, bw_resc, diff) <= 0) { in print_results_bw()
534 unsigned long bw_imc, bw_resc, bw_resc_end; in measure_vals() local
544 bw_imc = get_mem_bw_imc(param->cpu_no, param->bw_report); in measure_vals()
545 if (bw_imc <= 0) in measure_vals()
546 return bw_imc; in measure_vals()
553 ret = print_results_bw(param->filename, bm_pid, bw_imc, bw_resc); in measure_vals()