projects / phoronix-test-suite.git / commitdiff
Build Results
 
Summary

Description: Phoronix Test Suite open-source benchmarking development
Last Change: Tue 4/22/14 15:29

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Tue 4/22/14 15:29
Michael Larabel  
pts-core: Fix for NOT... 
Mon 4/21/14 12:36
Michael Larabel  
pts-core: More new... 
Sat 4/19/14 18:06
Michael Larabel  
phoromatic: Continued... 
Sat 4/19/14 12:56
Michael Larabel  
phoromatic: Add groups... 
Fri 4/18/14 11:23
Michael Larabel  
phodevi: Add GPU usage... 
Wed 12/31/69 19:00
5cc96094d0ca5ff618655eed3c3f7e242634789d  
Merge pull request #20... 
 
> --git a/pts-core/objects/phodevi/components/phodevi_cpu.php b/pts-core/objects/phodevi/components/phodevi_cpu.php
index c0a6450
..f626399 100644
--- a/pts-core/objects/phodevi/components/phodevi_cpu.php
+++ b/pts-core/objects/phodevi/components/phodevi_cpu.php
@@ -83,+83,@@ class phodevi_cpu extends phodevi_device_interface
             
{
                 
$present pts_file_io::file_get_contents('/sys/devices/system/cpu/online');

-                if(
substr($present02) == '0-')
+                if(isset(
$present[2]) && substr($present02) == '0-')
                 {
                     
$present substr($present2);

diff --git a/pts-core/objects/phodevi/components/phodevi_system.php b/pts-core/objects/phodevi/components/phodevi_system.php
index 18c0e09
..534a6bd 100644
--- a/pts-core/objects/phodevi/components/phodevi_system.php
+++ b/pts-core/objects/phodevi/components/phodevi_system.php
@@ -1066,+1066,@@ class phodevi_system extends phodevi_device_interface
     
}
     public static function 
sw_display_server()
     {
+        
$info null;
+
         if(
phodevi::is_windows())
         {
             
// TODO: determine what to do for Windows support
<
 
Phoronix.com
Linux Driver Forums
Copyright © 2014 by Phoronix Media