mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-26 00:10:38 +01:00
[v1.05] Do not show debug frequency message
This commit is contained in:
@@ -116,12 +116,8 @@ int64_t measure_max_frequency(uint32_t core) {
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user