[v1.00][X86] Show unknown string when the number of cores cannot be retrieved (like #119)

This commit is contained in:
Dr-Noob
2021-11-01 13:07:48 +01:00
parent bb12a2c276
commit 6981d61eaf
7 changed files with 34 additions and 25 deletions

View File

@@ -139,7 +139,7 @@ int64_t get_peak_performance(struct cpuInfo* cpu, struct topology* topo, int64_t
*/
//First check we have consistent data
if(freq == UNKNOWN_FREQ) {
if(freq == UNKNOWN_DATA) {
return -1;
}