Home
last modified time | relevance | path

Searched refs:diff_percent (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/tools/testing/selftests/resctrl/
Dcqm_test.c46 float diff_percent; in show_cache_info() local
53 diff_percent = (((float)span - avg_llc_occu_resc) / span) * 100; in show_cache_info()
55 if ((abs((int)diff_percent) <= MAX_DIFF_PERCENT) || in show_cache_info()
65 printf("# percent diff=%d\n", abs((int)diff_percent)); in show_cache_info()
Dcat_test.c60 float diff_percent; in show_cache_info() local
63 diff_percent = ((float)allocated_cache_lines - avg_llc_perf_miss) / in show_cache_info()
67 !is_amd && abs((int)diff_percent) > MAX_DIFF_PERCENT ? in show_cache_info()
70 printf("# Percent diff=%d\n", abs((int)diff_percent)); in show_cache_info()