Skip to content
Snippets Groups Projects
Commit 22e073b2 authored by Nathan Rutman's avatar Nathan Rutman
Browse files

align text output

parent 5cc94300
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ LABEL: while ( <PFILE> ) { ...@@ -48,7 +48,7 @@ LABEL: while ( <PFILE> ) {
$out{$line[7]}{$line[5]} = $line[9]; $out{$line[7]}{$line[5]} = $line[9];
} }
} }
print "rg$line[5] th$line[7] w$line[9] r$line[$rindex]\n"; #print "rg$line[5] th$line[7] w$line[9] r$line[$rindex]\n";
if ($line[$rindex]) { if ($line[$rindex]) {
if (!($line[$rindex+1] eq "failed")) { if (!($line[$rindex+1] eq "failed")) {
if ($line[5] <= 1 ) { if ($line[5] <= 1 ) {
...@@ -76,7 +76,7 @@ for ($j = 1; $j <= $thread ; $j = $j + $j) { ...@@ -76,7 +76,7 @@ for ($j = 1; $j <= $thread ; $j = $j + $j) {
print DATAFILE " write$j read$j"; print DATAFILE " write$j read$j";
} }
for ( $i = 1; $i <= $region; $i = $i + $i ) { for ( $i = 1; $i <= $region; $i = $i + $i ) {
print DATAFILE "\n$i"; printf DATAFILE "\n%-4s", $i;
for ($j = 1; $j <= $thread ; $j = $j + $j) { for ($j = 1; $j <= $thread ; $j = $j + $j) {
if ( $out{$i}{$j} ) { if ( $out{$i}{$j} ) {
print DATAFILE " $out{$i}{$j}"; print DATAFILE " $out{$i}{$j}";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment