Skip to content

Commit a9792ff

Browse files
Adjust units on flamegraphs
1 parent 40009f6 commit a9792ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

site/src/self_profile/flamegraph.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pub fn generate(title: &str, pieces: super::Pieces, _: Opt) -> anyhow::Result<Ve
1717

1818
let mut file = Vec::new();
1919
let mut flamegraph_options = FlamegraphOptions::default();
20+
flamegraph_options.count_name = "nanoseconds".to_owned();
2021
flamegraph_options.title = title.to_owned();
2122

2223
from_lines(

0 commit comments

Comments
 (0)