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

Description: Phoronix Test Suite open-source benchmarking development
Last Change: Fri 5/17/13 22:52

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Fri 5/17/13 22:52
Michael Larabel  
phodevi: Report CPU... 
Wed 5/15/13 21:50
Michael Larabel  
Phoronix Test Suite... 
Wed 5/15/13 21:39
Michael Larabel  
pts-core: DragonFlyBSD... 
Wed 5/15/13 15:47
Michael Larabel  
pts-core: Updates from... 
Wed 5/15/13 15:43
Michael Larabel  
 
Sat 5/11/13 13:55
Michael Larabel  
pts-core: Fix for... 
 
> --git a/pts-core/objects/pts_Graph/pts_Graph.php b/pts-core/objects/pts_Graph/pts_Graph.php
index f26fb86
..97c5d14 100644
--- a/pts-core/objects/pts_Graph/pts_Graph.php
+++ b/pts-core/objects/pts_Graph/pts_Graph.php
@@ -51,+51,@@ abstract class pts_Graph
     
protected $regression_marker_threshold 0;
     protected 
$is_multi_way_comparison false;
     private 
$test_identifier null;
-    protected 
$link_alternate_view null;
     protected 
$value_highlights = array();

     public function 
__construct(&$result_object null, &$result_file null)
@@ -
438,+437,@@ abstract class pts_Graph
     
}
     public function 
setAlternateView($url)
     {
-        
$this->link_alternate_view $url;
+        
$this->d['link_alternate_view'] = $url;
     }
     public function 
render_graph_finish()
     {
@@ -
539,10 +538,10 @@ abstract class pts_Graph
             $this
->svg_dom->add_element('rect', array('x' => 0'y' => $bottom_heading_start'width' => $this->i['graph_width'], 'height' => ($this->i['graph_height'] - $bottom_heading_start), 'fill' => self::$c['color']['main_headers']));
             
$this->svg_dom->add_text_element('Powered By ' $this->i['graph_version'], array('x' => $this->i['graph_left_end'], 'y' => ($bottom_heading_start self::$c['size']['key'] + 3), 'font-size' => self::$c['size']['key'], 'fill' => self::$c['color']['background'], 'text-anchor' => 'end''xlink:show' => 'new''xlink:href' => 'http://www.phoronix-test-suite.com/'));

-            if(
$this->link_alternate_view)
+            if(isset(
$this->d['link_alternate_view']) && $this->d['link_alternate_view'])
             {
-                
// offer link of image to $this->link_alternate_view
-                $this->svg_dom->add_element('image', array('http_link' => $this->link_alternate_view'xlink:href' => pts_svg_dom::embed_png_image(PTS_CORE_STATIC_PATH 'images/ob-10x16.png'), 'x' => 4'y' => ($bottom_heading_start 1), 'width' => 10'height' => 16));
+                
// offer link of image to $this->d['link_alternate_view']
+                $this->svg_dom->add_element('image', array('http_link' => $this->d['link_alternate_view'], 'xlink:href' => pts_svg_dom::embed_png_image(PTS_CORE_STATIC_PATH 'images/ob-10x16.png'), 'x' => 4'y' => ($bottom_heading_start 1), 'width' => 10'height' => 16));
             }

             if(!empty(
$this->i['notes']))
diff --git a/pts-core/objects/pts_Graph/pts_Table.php b/pts-core/objects/pts_Graph/pts_Table.php
index 6bcfb60
..6a06ded 100644
--- a/pts-core/objects/pts_Graph/pts_Table.php
+++ b/pts-core/objects/pts_Graph/pts_Table.php
@@ -397,+397,@@ class pts_Table extends pts_Graph
         $this
->svg_dom->add_element('rect', array('x' => 0'y' => $table_proper_height'width' => $this->i['graph_width'], 'height' => ($this->i['graph_height'] - $table_proper_height), 'fill' => self::$c['color']['headers']));
         
$this->svg_dom->add_text_element(self::$c['text']['watermark'], array('x' => ($this->i['graph_width'] - 2), 'y' => ($this->i['graph_height'] - 3), 'font-size' => $this->i['identifier_size'], 'fill' => self::$c['color']['body_text'], 'text-anchor' => 'end''xlink:show' => 'new''xlink:href' => self::$c['text']['watermark_url']));

-        if(
$this->link_alternate_view != null)
+        if(isset(
$this->d['link_alternate_view']) && $this->d['link_alternate_view'])
         {
-            
$this->svg_dom->add_text_element(0, array('x' => 6'y' => ($this->i['graph_height'] - 3), 'font-size' => 7'fill' => self::$c['color']['background'], 'text-anchor' => 'start''xlink:show' => 'new''xlink:href' => $this->link_alternate_view'show' => 'replace''font-weight' => 'bold'));
+            
$this->svg_dom->add_text_element(0, array('x' => 6'y' => ($this->i['graph_height'] - 3), 'font-size' => 7'fill' => self::$c['color']['background'], 'text-anchor' => 'start''xlink:show' => 'new''xlink:href' => $this->d['link_alternate_view'], 'show' => 'replace''font-weight' => 'bold'));
         }

         if(!empty(
$this->i['notes']))
<
 
Phoronix.com
Linux Driver Forums
Copyright © 2013 by Phoronix Media