Browse Source

miner.php warning highlight GPU stats if they are zero (e.g. ADL not enabled)

nfactor-troky
Kano 13 years ago
parent
commit
8237568395
  1. 12
      miner.php

12
miner.php

@ -275,10 +275,20 @@ function fmt($section, $name, $value) @@ -275,10 +275,20 @@ function fmt($section, $name, $value)
case 'SUMMARY.Utility':
$ret = $value.'/m';
break;
case 'GPU.Temperature':
case 'PGA.Temperature':
$ret = $value.'°C';
break;
case 'GPU.Temperature':
$ret = $value.'°C';
case 'GPU.Fan Speed':
case 'GPU.Fan Percent':
case 'GPU.GPU Clock':
case 'GPU.Memory Clock':
case 'GPU.GPU Voltage':
case 'GPU.GPU Activity':
if ($value == 0)
$class = $warnclass;
break;
case 'GPU.MHS av':
case 'PGA.MHS av':
case 'SUMMARY.MHS av':

Loading…
Cancel
Save