From bb3d23e193102bf185f8b5717c0fc4973ad2b27d Mon Sep 17 00:00:00 2001 From: Dr-Noob Date: Tue, 20 Feb 2024 08:42:36 +0000 Subject: [PATCH] [v1.05] Do not show debug frequency message --- src/common/freq.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/common/freq.c b/src/common/freq.c index 41c8dfe..f98981f 100644 --- a/src/common/freq.c +++ b/src/common/freq.c @@ -115,13 +115,9 @@ int64_t measure_max_frequency(uint32_t core) { double frequency = instructions/((double)usecs); printf("\r%*c\r", (int) strlen(frequency_banner), ' '); - - printf("%ld %ld\n", instructions, usecs); - printf("%f\n", frequency); - - // Discard last digit in the frequency which should help providing more reliable - // values. + // Discard last digit in the frequency, which should help providing + // more reliable and predictable values. return (((int) frequency + 5)/10) * 10; }