1.1 --- a/Hardware/CPU/IntelCPU.cs Mon Apr 26 18:38:31 2010 +0000
1.2 +++ b/Hardware/CPU/IntelCPU.cs Mon Apr 26 18:51:22 2010 +0000
1.3 @@ -48,6 +48,7 @@
1.4 namespace OpenHardwareMonitor.Hardware.CPU {
1.5 public class IntelCPU : Hardware, IHardware {
1.6
1.7 + private int processorIndex;
1.8 private CPUID[][] cpuid;
1.9 private int coreCount;
1.10
1.11 @@ -93,8 +94,9 @@
1.12 return result;
1.13 }
1.14
1.15 - public IntelCPU(CPUID[][] cpuid) {
1.16 + public IntelCPU(int processorIndex, CPUID[][] cpuid) {
1.17
1.18 + this.processorIndex = processorIndex;
1.19 this.cpuid = cpuid;
1.20 this.coreCount = cpuid.Length;
1.21 this.name = cpuid[0][0].Name;
1.22 @@ -236,7 +238,7 @@
1.23 }
1.24
1.25 public string Identifier {
1.26 - get { return "/intelcpu/0"; }
1.27 + get { return "/intelcpu/" + processorIndex; }
1.28 }
1.29
1.30 public Image Icon {