|
@@ -24,6 +24,8 @@ while(<>) {
|
|
|
$offlinebytes = $1;
|
|
|
}
|
|
|
if (/Total Online Band\(bytes\): (\d+)/) {
|
|
|
+ # Note that the java code already reports bandwidth *per
|
|
|
+ # iteration*
|
|
|
my $onlinebytes = $1;
|
|
|
my $totbytes = $onlinebytes + $offlinebytes;
|
|
|
$res{$size}->{'onlbytes'} = 0 unless
|
|
@@ -57,11 +59,11 @@ foreach $size (sort keys %res) {
|
|
|
|
|
|
print "\n";
|
|
|
|
|
|
-print "|size|iters|online_3P_bytes|total_3P_bytes|online_3P_bytes_per_iter|total_3P_bytes_per_iter|\n";
|
|
|
-print "|----|-----|---------------|--------------|------------------------|-----------------------|\n";
|
|
|
+print "|size|iters|online_3P_bytes_per_iter|total_3P_bytes_per_iter|\n";
|
|
|
+print "|----|-----|------------------------|-----------------------|\n";
|
|
|
foreach $size (sort keys %res) {
|
|
|
my $iters = $1 if $size =~ /\|(\d+)/;
|
|
|
my $online = $res{$size}->{'onlbytes'};
|
|
|
my $total = $res{$size}->{'totbytes'};
|
|
|
- print "|$size|$online|$total|", $online/$iters, "|", $total/$iters, "|\n";
|
|
|
+ print "|$size|$online|$total|\n";
|
|
|
}
|