diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-05-28 18:37:08 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-05-28 18:37:08 -0400 |
commit | 31c65b2e89ba99b4a2dac2a054615e39a2961ed0 (patch) | |
tree | 1f8278b3ad634da039aed0c8bf6e058e34194d8a /pts-core | |
parent | e02e98a9ccc43756df522349140c8b43691bf234 (diff) | |
download | phoronix-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.php | 2 | ||||
-rw-r--r-- | pts-core/objects/pts_MultiPassFailGraph.php | 2 |
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)) |