Skip to content

Commit

Permalink
feat: Print summary at end of execution
Browse files Browse the repository at this point in the history
  • Loading branch information
wwared committed Aug 26, 2024
1 parent aca9eed commit 4fb6305
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/runtime/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1037,6 +1037,10 @@ impl<'a> Runtime<'a> {
self.emit_events = false;
self.print_report = true;
while !self.execute()? {}

// Print the summary.
tracing::info!("summary: cycles={}", self.state.global_clk,);

Ok(())
}

Expand Down

0 comments on commit 4fb6305

Please sign in to comment.