Hardware/ATI/ATIGPU.cs
changeset 270 ef89cbe45b7c
parent 248 045eb5c1ec32
child 275 35788ddd1825
     1.1 --- a/Hardware/ATI/ATIGPU.cs	Mon Apr 11 22:38:39 2011 +0000
     1.2 +++ b/Hardware/ATI/ATIGPU.cs	Fri Apr 15 23:52:07 2011 +0000
     1.3 @@ -187,16 +187,22 @@
     1.4          if (adlp.EngineClock > 0) {
     1.5            coreClock.Value = 0.01f * adlp.EngineClock;
     1.6            ActivateSensor(coreClock);
     1.7 +        } else {
     1.8 +          coreClock.Value = null;
     1.9          }
    1.10  
    1.11          if (adlp.MemoryClock > 0) {
    1.12            memoryClock.Value = 0.01f * adlp.MemoryClock;
    1.13            ActivateSensor(memoryClock);
    1.14 +        } else {
    1.15 +          memoryClock.Value = null;
    1.16          }
    1.17  
    1.18          if (adlp.Vddc > 0) {
    1.19            coreVoltage.Value = 0.001f * adlp.Vddc;
    1.20            ActivateSensor(coreVoltage);
    1.21 +        } else {
    1.22 +          coreVoltage.Value = null;
    1.23          }
    1.24  
    1.25          coreLoad.Value = Math.Min(adlp.ActivityPercent, 100);