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/CHANGE-LOG b/CHANGE-LOG
index b1b54e0
..9c116b1 100644
--- a/CHANGE-LOG
+++ b/CHANGE-LOG
@@ -1,+1,@@
 
PHORONIX TEST SUITE CHANGE-LOG

+Phoronix Test Suite (Git)
+
+- 
pts_GraphFix rounding issue on pts tables that are very wide
+
 
Phoronix Test Suite 4.0 Milestone 1
 12 April 2012

diff 
--git a/pts-core/objects/pts_Graph/pts_Table.php b/pts-core/objects/pts_Graph/pts_Table.php
index ab7bdd1
..35cdd65 100644
--- a/pts-core/objects/pts_Graph/pts_Table.php
+++ b/pts-core/objects/pts_Graph/pts_Table.php
@@ -194,+194,@@ class pts_Table extends pts_Graph
         
}

         
// Background horizontal
-        $this->svg_dom->draw_svg_line(($table_columns_end 2), ($identifier_height $this->i['top_heading_height']), round($table_columns_end 2), $table_proper_heightself::$c['color']['body_light'], $table_columns_end, array('stroke-dasharray' => $table_line_height ',' $table_line_height));
+        
$this->svg_dom->draw_svg_line(round($table_columns_end 2), ($identifier_height $this->i['top_heading_height']), round($table_columns_end 2), $table_proper_heightself::$c['color']['body_light'], $table_columns_end, array('stroke-dasharray' => $table_line_height ',' $table_line_height));

         
// Draw the borders
         
$this->svg_dom->draw_svg_line($this->i['left_start'], $v$table_columns_end + ($table_columns_end $this->i['graph_width'] ? $table_item_width 0), $vself::$c['color']['border'], $table_height $identifier_height, array('stroke-dasharray' => '1,' . ($table_item_width 1)));
@@ -
393,+393,@@ class pts_Table extends pts_Graph
         
}

         
//$this->svg_dom->draw_svg_line(($table_columns_end / 2), ($identifier_height + $this->i['top_heading_height']), round($table_columns_end / 2), $this->i['graph_height'], self::$c['color']['border'], $table_columns_end, array('stroke-dasharray' => '1,' . ($table_line_height - 1)));
-        $this->svg_dom->draw_svg_line(($table_columns_end 2), ($identifier_height $this->i['top_heading_height']), round($table_columns_end 2), $table_proper_heightself::$c['color']['body_light'], $table_columns_end, array('stroke-dasharray' => ',' . ($table_line_height 1)));
+        
$this->svg_dom->draw_svg_line(round($table_columns_end 2), ($identifier_height $this->i['top_heading_height']), round($table_columns_end 2), $table_proper_heightself::$c['color']['body_light'], $table_columns_end, array('stroke-dasharray' => ',' . ($table_line_height 1)));

         
// Bottom part

<
 
Phoronix.com
Linux Driver Forums
Copyright © 2013 by Phoronix Media