mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 16:00:39 +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("\r%*c\r", (int) strlen(frequency_banner), ' ');
|
||||||
|
|
||||||
printf("%ld %ld\n", instructions, usecs);
|
// Discard last digit in the frequency, which should help providing
|
||||||
printf("%f\n", frequency);
|
// more reliable and predictable values.
|
||||||
|
|
||||||
|
|
||||||
// Discard last digit in the frequency which should help providing more reliable
|
|
||||||
// values.
|
|
||||||
return (((int) frequency + 5)/10) * 10;
|
return (((int) frequency + 5)/10) * 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user