mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-08-30 13:57:38 +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));
|
||||
coreId = (uint)((apicId >> (int)(threadMaskWith))
|
||||
- (processorId << (int)(coreMaskWith + threadMaskWith)));
|
||||
- (processorId << (int)(coreMaskWith)));
|
||||
threadId = apicId
|
||||
- (processorId << (int)(coreMaskWith + threadMaskWith))
|
||||
- (coreId << (int)(threadMaskWith));
|
||||
|
Reference in New Issue
Block a user