diff --git a/src/cpuid.c b/src/cpuid.c index cbd71f6..096bcf8 100644 --- a/src/cpuid.c +++ b/src/cpuid.c @@ -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.