瀏覽代碼

oram: benchmark print communication stats

Lennart Braun 2 年之前
父節點
當前提交
395f9eac4d
共有 1 個文件被更改,包括 3 次插入1 次删除
  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:#?}");
 }