Skip to content

Commit

Permalink
match random workload to described behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Else committed May 17, 2011
1 parent 0d20900 commit 5ed15e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/Perl/taskvent.pl
Expand Up @@ -43,7 +43,7 @@ sub within {
my $total_msec = 0; # Total expected cost in msecs my $total_msec = 0; # Total expected cost in msecs
for (1 .. 100) { for (1 .. 100) {
# Random workload from 1 to 100msecs # Random workload from 1 to 100msecs
my $workload = within(100) + 1; my $workload = within(100);
$total_msec += $workload; $total_msec += $workload;
$sender->send($workload); $sender->send($workload);
} }
Expand Down

0 comments on commit 5ed15e2

Please sign in to comment.