summaryrefslogtreecommitdiffstats
path: root/pts-core
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-05-28 18:37:08 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-05-28 18:37:08 -0400
commit31c65b2e89ba99b4a2dac2a054615e39a2961ed0 (patch)
tree1f8278b3ad634da039aed0c8bf6e058e34194d8a /pts-core
parente02e98a9ccc43756df522349140c8b43691bf234 (diff)
downloadphoronix-test-suite-upstream-31c65b2e89ba99b4a2dac2a054615e39a2961ed0.tar.gz
phoronix-test-suite-upstream-31c65b2e89ba99b4a2dac2a054615e39a2961ed0.tar.xz
phoronix-test-suite-upstream-31c65b2e89ba99b4a2dac2a054615e39a2961ed0.zip
Minor tweaks...
Diffstat (limited to 'pts-core')
-rw-r--r--pts-core/functions/pts-functions_config.php2
-rw-r--r--pts-core/objects/pts_MultiPassFailGraph.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/pts-core/functions/pts-functions_config.php b/pts-core/functions/pts-functions_config.php
index 5e3b9dc..262d745 100644
--- a/pts-core/functions/pts-functions_config.php
+++ b/pts-core/functions/pts-functions_config.php
@@ -86,7 +86,7 @@ function pts_user_config_init($UserName = NULL, $UploadKey = NULL, $BatchOptions
$config->addXmlObject(P_OPTION_TEST_ENVIRONMENT, 2, pts_read_user_config(P_OPTION_TEST_ENVIRONMENT, "~/.phoronix-test-suite/installed-tests/", $read_config));
$config->addXmlObject(P_OPTION_CACHE_DIRECTORY, 2, pts_read_user_config(P_OPTION_CACHE_DIRECTORY, "~/.phoronix-test-suite/download-cache/", $read_config));
- $config->addXmlObject(P_OPTION_TEST_SLEEPTIME, 2, pts_read_user_config(P_OPTION_TEST_SLEEPTIME, "5", $read_config));
+ $config->addXmlObject(P_OPTION_TEST_SLEEPTIME, 2, pts_read_user_config(P_OPTION_TEST_SLEEPTIME, "8", $read_config));
$config->addXmlObject(P_OPTION_TEST_SCREENSAVER, 2, $ToggleScreensaver);
$config->addXmlObject(P_OPTION_BATCH_SAVERESULTS, 3, $BatchOptions[0]);
diff --git a/pts-core/objects/pts_MultiPassFailGraph.php b/pts-core/objects/pts_MultiPassFailGraph.php
index ca30200..1abd340 100644
--- a/pts-core/objects/pts_MultiPassFailGraph.php
+++ b/pts-core/objects/pts_MultiPassFailGraph.php
@@ -31,7 +31,7 @@ class pts_MultiPassFailGraph extends pts_CustomGraph
$pass_color = $this->next_paint_color();
$fail_color = $this->next_paint_color();
- $main_width = floor($graph_width * .3);
+ $main_width = floor($graph_width * .24);
$main_font_size = $this->graph_font_size_bars;
$main_greatest_length = $this->find_longest_string($this->graph_identifiers);
while(($this->return_ttf_string_width($main_greatest_length, $this->graph_font, $main_font_size) > ($main_width - 8)) || $this->return_ttf_string_height($main_greatest_length, $this->graph_font, $main_font_size) > ($line_height - 4))