Hardware/CPU/AMD10CPU.cs
changeset 22 e6832d4b89d2
parent 1 361e324a0ed4
child 24 09ab31bee6bd
     1.1 --- a/Hardware/CPU/AMD10CPU.cs	Tue Feb 02 18:35:23 2010 +0000
     1.2 +++ b/Hardware/CPU/AMD10CPU.cs	Tue Feb 02 21:58:54 2010 +0000
     1.3 @@ -65,7 +65,9 @@
     1.4          coreCount = (cpuidExtData[8, 2] & 0xFF) + 1;
     1.5        
     1.6        // AMD family 10h processors support only one temperature sensor
     1.7 -      coreTemperature = new Sensor("Core", 0, SensorType.Temperature, this);
     1.8 +      coreTemperature = new Sensor(
     1.9 +        "Core" + (coreCount > 1 ? " #1 - #" + coreCount : ""), 0, 
    1.10 +        SensorType.Temperature, this);
    1.11  
    1.12        pciAddress = WinRing0.FindPciDeviceById(PCI_AMD_VENDOR_ID, 
    1.13          PCI_AMD_10H_MISCELLANEOUS_DEVICE_ID, 0);