Browse Source

Parse the mode from the logs as well

Ian Goldberg 1 year ago
parent
commit
a0f6d4b902
2 changed files with 5 additions and 2 deletions
  1. 2 2
      parse_logs
  2. 3 0
      repro

+ 2 - 2
parse_logs

@@ -66,12 +66,12 @@ while(<>) {
     if (/===== End/) {
         my $maxsecs = $seconds[0];
         $maxsecs = $seconds[1] if $seconds[1] > $maxsecs;
-        print "Floram $depth $netsetup$maxsecs s\n";
+        print "Floram $mode $depth $netsetup$maxsecs s\n";
         # The setupsize and opsize are the _sum_ for the two parties, so
         # add them to get the total size for both parties, and divide by
         # 2 to get the average size for each party
         my $bytes = ($setupsize + $opsize) / 2;
         my $kib = $bytes / 1024;
-        print "Floram $depth $netsetup$kib KiB\n";
+        print "Floram $mode $depth $netsetup$kib KiB\n";
     }
 }

+ 3 - 0
repro

@@ -138,3 +138,6 @@ now=`date`
 echo "$now: Experiments complete"
 
 parse *.out > floram.dat
+
+echo
+echo "# Figure 7(a)"