diff --git a/checkin_notes b/checkin_notes index fea39b0da6..64fdbb374d 100644 --- a/checkin_notes +++ b/checkin_notes @@ -8516,3 +8516,9 @@ David 16 Nov 2011 gpu_list.php client/ net_stats.h + +David 16 Nov 2011 + - fix gpu_ratios.php + + html/user/ + gpu_ratios.php diff --git a/html/user/gpu_ratios.php b/html/user/gpu_ratios.php index d95f96c8d4..ee2e632e24 100644 --- a/html/user/gpu_ratios.php +++ b/html/user/gpu_ratios.php @@ -1,3 +1,4 @@ +expavg_credit; } } - - echo "CPU: ", $cpu_scale_sum/$cpu_credit_sum, "\n"; - echo "ATI: ", $ati_scale_sum/$ati_credit_sum, "\n"; - echo "NVIDIA: ", $nvidia_scale_sum/$nvidia_credit_sum, "\n"; } + +xml_header(); +echo "\n"; +if ($cpu_credit_sum) { + echo "", $cpu_scale_sum/$cpu_credit_sum, "\n"; +} +if ($ati_credit_sum) { + echo "", $ati_scale_sum/$ati_credit_sum, "\n"; +} +if ($nvidia_credit_sum) { + echo "", $nvidia_scale_sum/$nvidia_credit_sum, "\n"; +} +echo "\n"; +?>