[*] Win XP -> 8: CpuInfo::pCoreTopology fix
This commit is contained in:
parent
c4806f8e81
commit
654cc8fe04
@ -237,7 +237,8 @@ namespace Aurora::HWInfo
|
||||
gCpuInfo.maskPCores.Add(idx);
|
||||
idx++;
|
||||
}
|
||||
gCpuInfo.pCoreTopology.push_back(mask);
|
||||
|
||||
gCpuInfo.pCoreTopology.push_back(serverId);
|
||||
}
|
||||
|
||||
}
|
||||
@ -290,6 +291,7 @@ namespace Aurora::HWInfo
|
||||
CpuBitId coreId;
|
||||
coreId.lower = mask;
|
||||
gCpuInfo.coreTopology.push_back(coreId);
|
||||
gCpuInfo.pCoreTopology.push_back(coreId);
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -314,6 +316,7 @@ namespace Aurora::HWInfo
|
||||
CpuBitId coreId;
|
||||
coreId.lower = maskC;
|
||||
gCpuInfo.coreTopology.push_back(coreId);
|
||||
gCpuInfo.pCoreTopology.push_back(coreId);
|
||||
}
|
||||
|
||||
gCpuInfo.uCores = gCpuInfo.uThreads / 2;
|
||||
|
Loading…
Reference in New Issue
Block a user