summaryrefslogtreecommitdiff
path: root/loadbars.pl
diff options
context:
space:
mode:
Diffstat (limited to 'loadbars.pl')
-rwxr-xr-xloadbars.pl13
1 files changed, 10 insertions, 3 deletions
diff --git a/loadbars.pl b/loadbars.pl
index 98992f5..ad7bb45 100755
--- a/loadbars.pl
+++ b/loadbars.pl
@@ -67,8 +67,8 @@ my %C : shared;
inter => 0.1,
samples => 1000,
sshopts => '',
- width => 1200,
- height => 200,
+ width => 1250,
+ height => 150,
);
# Quick n dirty helpers
@@ -203,7 +203,14 @@ sub draw_background ($$) {
}
sub create_threads (@) {
- return map { $_->detach(); $_ } map { threads->create('thread_get_stats', $_) } @_;
+ return map {
+ $_->detach();
+ $_;
+
+ } map {
+ threads->create('thread_get_stats', $_);
+
+ } @_;
}
sub main_loop ($@) {