Summary
Description: Phoronix Test Suite open-source benchmarking development
Last Change: Tue 5/21/13 15:49
Recent Commits
>
--git a/pts-core/objects/client/pts_client.php b/pts-core/objects/client/pts_client.php
index 64934b3..27e37c6 100644
--- a/pts-core/objects/client/pts_client.php
+++ b/pts-core/objects/client/pts_client.php
@@ -908,7 +908,7 @@ class pts_client
$raw_xsl = file_get_contents(PTS_RESULTS_VIEWER_PATH . 'pts-results-viewer.xsl');
// System Tables
- $conversions = array('systems', 'radar', 'overview', 'visualize');
+ $conversions = array('systems', 'detailed_component', 'radar', 'overview', 'visualize');
foreach($conversions as $convert)
{
$graph_string = pts_svg_dom::html_embed_code('result-graphs/' . $convert . '.BILDE_EXTENSION', 'SVG', array('width' => 'auto', 'height' => 'auto'), true);
@@ -964,7 +964,7 @@ class pts_client
if($chart)
{
- $chart->renderChart($save_to_dir . '/result-graphs/system_component_details.BILDE_EXTENSION');
+ $chart->renderChart($save_to_dir . '/result-graphs/detailed_component.BILDE_EXTENSION');
}
}
}
diff --git a/pts-core/objects/pts_Graph/pts_DetailedSystemComponentTable.php b/pts-core/objects/pts_Graph/pts_DetailedSystemComponentTable.php
index 0981144..6ed1074 100644
--- a/pts-core/objects/pts_Graph/pts_DetailedSystemComponentTable.php
+++ b/pts-core/objects/pts_Graph/pts_DetailedSystemComponentTable.php
@@ -115,29 +115,26 @@ class pts_DetailedSystemComponentTable extends pts_SideViewTable
foreach($this->columns as $i => $cpuinfo_item)
{
- if($cpuinfo_item == 'Features')
+ switch($cpuinfo_item)
{
- $line = phodevi_cpu::instruction_set_extensions();
- }
- else if($cpuinfo_item == 'Core Count')
- {
- $line = phodevi_cpu::cpuinfo_core_count();
- }
- else if($cpuinfo_item == 'Thread Count')
- {
- $line = phodevi_cpu::cpuinfo_thread_count();
- }
- else if($cpuinfo_item == 'L2 Cache')
- {
- $line = phodevi_cpu::lscpu_l2_cache();
- }
- else if($cpuinfo_item == 'Virtualization')
- {
- $line = phodevi_cpu::virtualization_technology();
- }
- else
- {
- $line = phodevi_cpu::read_cpuinfo_line(strtolower($cpuinfo_item), false);
+ case 'Features':
+ $line = phodevi_cpu::instruction_set_extensions();
+ break;
+ case 'Core Count':
+ $line = phodevi_cpu::cpuinfo_core_count();
+ break;
+ case 'Thread Count':
+ $line = phodevi_cpu::cpuinfo_thread_count();
+ break;
+ case 'L2 Cache':
+ $line = phodevi_cpu::lscpu_l2_cache();
+ break;
+ case 'Virtualization':
+ $line = phodevi_cpu::virtualization_technology();
+ break;
+ default:
+ $line = phodevi_cpu::read_cpuinfo_line(strtolower($cpuinfo_item), false);
+ break;
}
if($line)
diff --git a/pts-core/objects/pts_result_file_analyzer.php b/pts-core/objects/pts_result_file_analyzer.php
index 091a4d2..cdfd0b4 100644
--- a/pts-core/objects/pts_result_file_analyzer.php
+++ b/pts-core/objects/pts_result_file_analyzer.php
@@ -91,6 +91,7 @@ class pts_result_file_analyzer
pts_result_file_analyzer::system_components_to_table($data, $identifiers, $rows, $sw);
pts_result_file_analyzer::compact_result_table_data($data, $identifiers, true);
$desc = pts_result_file_analyzer::analyze_system_component_changes($data, $rows, array(
+ array('Memory', 'Graphics', 'Display Driver', 'OpenGL'),
array('Graphics', 'Monitor', 'Kernel', 'Display Driver', 'OpenGL'), array('Graphics', 'Monitor', 'Display Driver', 'OpenGL'), array('Graphics', 'Kernel', 'Display Driver', 'OpenGL'), array('Graphics', 'Display Driver', 'OpenGL'), array('Graphics', 'OpenGL'), array('Graphics', 'Kernel'), array('Graphics', 'Display Driver') // All potential graphics comparisons
), $return_all_changed_indexes);
}
diff --git a/pts-core/results-viewer/pts-results-viewer.xsl b/pts-core/results-viewer/pts-results-viewer.xsl
index e216ecb..6ddc72c 100644
--- a/pts-core/results-viewer/pts-results-viewer.xsl
+++ b/pts-core/results-viewer/pts-results-viewer.xsl
@@ -45,6 +45,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<h1>System Information</h1>
<div align="center" style="width: 100%; overflow: auto;"><!-- SYSTEMS TAG --></div>
+ <div align="center" style="width: 100%; overflow: auto;"><!-- DETAILED_COMPONENT TAG --></div>
<div class="pts_table_box_out"><table border="0">
<tr class="pts_column_head">
<xsl:for-each select="PhoronixTestSuite/System"><td><xsl:value-of select="Identifier" /></td></xsl:for-each>
<
Copyright © 2013 by Phoronix Media