mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-08-31 22:35:11 +00:00
Another small fix of the coreId calculation for multi-CPU systems.
This commit is contained in:
@@ -194,7 +194,7 @@ namespace OpenHardwareMonitor.Hardware.CPU {
|
|||||||
|
|
||||||
processorId = (uint)(apicId >> (int)(coreMaskWith + threadMaskWith));
|
processorId = (uint)(apicId >> (int)(coreMaskWith + threadMaskWith));
|
||||||
coreId = (uint)((apicId >> (int)(threadMaskWith))
|
coreId = (uint)((apicId >> (int)(threadMaskWith))
|
||||||
- (processorId << (int)(coreMaskWith + threadMaskWith)));
|
- (processorId << (int)(coreMaskWith)));
|
||||||
threadId = apicId
|
threadId = apicId
|
||||||
- (processorId << (int)(coreMaskWith + threadMaskWith))
|
- (processorId << (int)(coreMaskWith + threadMaskWith))
|
||||||
- (coreId << (int)(threadMaskWith));
|
- (coreId << (int)(threadMaskWith));
|
||||||
|
Reference in New Issue
Block a user