mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 20:44:19 +00:00
miner.php warning highlight GPU stats if they are zero (e.g. ADL not enabled)
This commit is contained in:
parent
d5323b7c0c
commit
8237568395
12
miner.php
12
miner.php
@ -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…
x
Reference in New Issue
Block a user