소스 검색

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:#?}");
 }