summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_system_graphics.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-10-02 10:40:04 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-10-02 10:40:04 -0400
commit683aa36e8f3877ebc11cbdc207a68cb697f51028 (patch)
tree4fe6af8b10353ff3b62fad4d6fa1cb853d3918d4 /pts-core/functions/pts-functions_system_graphics.php
parent9c8e2d62f9d31e371e41affc4d81bc34f96c8eed (diff)
downloadphoronix-test-suite-upstream-683aa36e8f3877ebc11cbdc207a68cb697f51028.tar.gz
phoronix-test-suite-upstream-683aa36e8f3877ebc11cbdc207a68cb697f51028.tar.xz
phoronix-test-suite-upstream-683aa36e8f3877ebc11cbdc207a68cb697f51028.zip
pts-core: graphics_gpu_usage() returns -1 on failure
Diffstat (limited to 'pts-core/functions/pts-functions_system_graphics.php')
-rw-r--r--pts-core/functions/pts-functions_system_graphics.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/functions/pts-functions_system_graphics.php b/pts-core/functions/pts-functions_system_graphics.php
index 559048a..b532ad4 100644
--- a/pts-core/functions/pts-functions_system_graphics.php
+++ b/pts-core/functions/pts-functions_system_graphics.php
@@ -792,7 +792,7 @@ function opengl_version()
function graphics_gpu_usage()
{
// Determine GPU usage
- $gpu_usage = 0;
+ $gpu_usage = -1;
if(IS_ATI_GRAPHICS)
{