mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
Fix #25: Compute PP taking into account the number of sockets
This commit is contained in:
@@ -610,7 +610,7 @@ char* get_str_peak_performance(struct cpuInfo* cpu, struct topology* topo, int64
|
||||
return string;
|
||||
}
|
||||
|
||||
double flops = topo->physical_cores*(freq*1000000);
|
||||
double flops = topo->physical_cores * topo->sockets * (freq*1000000);
|
||||
|
||||
// Intel USUALLY has two VPUs. I have never seen an AMD
|
||||
// with two VPUs.
|
||||
|
||||
Reference in New Issue
Block a user