Parcourir la source

parse_logs will parse mode bs output as well

Ian Goldberg il y a 6 mois
Parent
commit
803bd9c667
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      parse_logs

+ 2 - 2
parse_logs

@@ -42,7 +42,7 @@ while(<>) {
         $what = 'SETUP';
         next;
     }
-    if (/ORAM ACCESS \(READ|WRITE/) {
+    if (/BINARY SEARCH|ORAM ACCESS \((READ|WRITE)/) {
         $what = 'OP';
         next;
     }
@@ -50,7 +50,7 @@ while(<>) {
         $seconds[$who] = $1;
         next;
     }
-    if (/^\d+,8,/) {
+    if (/^\d+,\d+,/) {
         my @F = split(/,/);
         my @sizes = ();
         my $i;