mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
Rename metric
This commit is contained in:
parent
72ffd851dd
commit
5cb3d527b0
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ pub fn analysis_stats(
|
|||
eprintln!("Total: {}", total_span);
|
||||
report_metric("total time", total_span.time.as_millis() as u64, "ms");
|
||||
if let Some(instructions) = total_span.instructions {
|
||||
report_metric("total time", instructions, "#instr");
|
||||
report_metric("total instructions", instructions, "#instr");
|
||||
}
|
||||
if let Some(memory) = total_span.memory {
|
||||
report_metric("total memory", memory.allocated.megabytes() as u64, "MB");
|
||||
|
|
Loading…
Reference in a new issue