Browse Source

oram: benchmark print communication stats

Lennart Braun 2 years ago
parent
commit
395f9eac4d
1 changed files with 3 additions and 1 deletions
  1. 3 1
      oram/examples/bench_doram.rs

+ 3 - 1
oram/examples/bench_doram.rs

@@ -203,7 +203,9 @@ fn main() {
         d_accesses.as_secs_f64() * 1000.0 / stash_size as f64
     );
 
-    comm.shutdown();
+    let comm_stats = comm.shutdown();
 
     runtimes.print(cli.party_id as usize + 1, stash_size);
+
+    println!("{comm_stats:#?}");
 }