Skip to content

Commit

Permalink
remove placeholder profiling reports
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-ferdinand committed Aug 10, 2023
1 parent 6c3537a commit f88dc68
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions triton-vm/src/profiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -417,18 +417,6 @@ pub struct Report {
}

impl Report {
pub fn placeholder() -> Self {
Report {
name: "".to_string(),
tasks: vec![],
total_time: Duration::ZERO,
category_times: HashMap::new(),
cycle_count: None,
padded_height: None,
fri_domain_len: None,
}
}

fn display_time_aligned(time: Duration) -> String {
let unaligned_time = format!("{time:.2?}");
let time_components: Vec<_> = unaligned_time.split('.').collect();
Expand Down

0 comments on commit f88dc68

Please sign in to comment.