summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_tests.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-11-29 14:57:34 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-11-29 14:57:34 -0500
commit3ea0148fe5fa697c1c0459f2dd0f2dfbd65600a1 (patch)
tree7a8207104db3b393a315570c309221ecb29a3d08 /pts-core/functions/pts-functions_tests.php
parentb87a1c03035e16e2c8477a563da2a743ed12d689 (diff)
downloadphoronix-test-suite-upstream-3ea0148fe5fa697c1c0459f2dd0f2dfbd65600a1.tar.gz
phoronix-test-suite-upstream-3ea0148fe5fa697c1c0459f2dd0f2dfbd65600a1.tar.xz
phoronix-test-suite-upstream-3ea0148fe5fa697c1c0459f2dd0f2dfbd65600a1.zip
pts-core: Add analyze-all-runs option to generate a candlestick graph
showing the distribution of results from all trial runs
Diffstat (limited to 'pts-core/functions/pts-functions_tests.php')
-rw-r--r--pts-core/functions/pts-functions_tests.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/pts-core/functions/pts-functions_tests.php b/pts-core/functions/pts-functions_tests.php
index c0c5993..5b3553f 100644
--- a/pts-core/functions/pts-functions_tests.php
+++ b/pts-core/functions/pts-functions_tests.php
@@ -114,6 +114,10 @@ function pts_save_result($save_to = null, $save_results = null)
{
$t = new pts_MultiPassFailGraph($results_name[$i], $results_attributes[$i], $results_scale[$i]);
}
+ else if(pts_read_assignment("GRAPH_RENDER_TYPE") == "CANDLESTICK")
+ {
+ $t = new pts_CandleStickGraph($results_name[$i], $results_attributes[$i], $results_scale[$i]);
+ }
else
{
$t = new pts_BarGraph($results_name[$i], $results_attributes[$i], $results_scale[$i]);