Searched refs:diff_percent (Results 1 – 2 of 2) sorted by relevance
46 float diff_percent; in show_cache_info() local53 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()
60 float diff_percent; in show_cache_info() local63 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()