[v1.05] Print a tilde in case the freq was measured (indicating that this value is an approximation)

This commit is contained in:
Dr-Noob
2024-07-08 08:23:56 +01:00
parent 65378aaed9
commit e0095c303d
6 changed files with 24 additions and 8 deletions

View File

@@ -146,6 +146,7 @@ struct uarch* get_cpu_uarch(struct cpuInfo* cpu) {
struct frequency* get_frequency_info(void) {
struct frequency* freq = emalloc(sizeof(struct frequency));
freq->measured = false;
freq->max = get_max_freq_from_file(0);
freq->base = get_min_freq_from_file(0);