aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-30 11:04:01 +0100
committerAleksey Kladov <[email protected]>2020-07-30 11:04:01 +0100
commit5cb3d527b0b527375dbc30f90836220b9a557b21 (patch)
tree87522f9decc8c22048edca6b184827ace956b6c8 /crates
parent72ffd851dd5b0fcdf3aa072131ba11009878b4ae (diff)
Rename metric
Diffstat (limited to 'crates')
-rw-r--r--crates/rust-analyzer/src/cli/analysis_stats.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/cli/analysis_stats.rs b/crates/rust-analyzer/src/cli/analysis_stats.rs
index 73ec3204b..187a0ebe6 100644
--- a/crates/rust-analyzer/src/cli/analysis_stats.rs
+++ b/crates/rust-analyzer/src/cli/analysis_stats.rs
@@ -295,7 +295,7 @@ pub fn analysis_stats(
295 eprintln!("Total: {}", total_span); 295 eprintln!("Total: {}", total_span);
296 report_metric("total time", total_span.time.as_millis() as u64, "ms"); 296 report_metric("total time", total_span.time.as_millis() as u64, "ms");
297 if let Some(instructions) = total_span.instructions { 297 if let Some(instructions) = total_span.instructions {
298 report_metric("total time", instructions, "#instr"); 298 report_metric("total instructions", instructions, "#instr");
299 } 299 }
300 if let Some(memory) = total_span.memory { 300 if let Some(memory) = total_span.memory {
301 report_metric("total memory", memory.allocated.megabytes() as u64, "MB"); 301 report_metric("total memory", memory.allocated.megabytes() as u64, "MB");