Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/resctrl/
H A 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()
H A Dmba_test.c53 static bool 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()
106 unsigned long bw_imc[1024], bw_resc[1024]; in check_results() local
128 bw_imc[runs] = strtoul(token_array[3], NULL, 0); in check_results()
136 return show_mba_info(bw_imc, bw_resc); in check_results()
H A Dresctrl_val.c317 static int get_mem_bw_imc(int cpu_no, char *bw_report, float *bw_imc) in get_mem_bw_imc() argument
391 *bw_imc = reads; in get_mem_bw_imc()
396 *bw_imc = writes; in get_mem_bw_imc()
400 *bw_imc = reads + writes; in get_mem_bw_imc()
549 static int print_results_bw(char *filename, int bm_pid, float bw_imc, in print_results_bw() argument
552 unsigned long diff = fabs(bw_imc - bw_resc); in print_results_bw()
556 printf("Pid: %d \t Mem_BW_iMC: %f \t ", bm_pid, bw_imc); in print_results_bw()
566 bm_pid, bw_imc, bw_resc, diff) <= 0) { in print_results_bw()
618 float bw_imc; in measure_vals() local
628 ret = get_mem_bw_imc(param->cpu_no, param->bw_report, &bw_imc); in measure_vals()
[all …]