Skip to content

Commit

Permalink
fix fraction printing for memory stats
Browse files Browse the repository at this point in the history
  • Loading branch information
Brechtpd committed Apr 10, 2024
1 parent 93bc7d8 commit 9f66fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ mod memory {
pub(crate) fn print_stats(title: &str) {
let max_memory = get_max_allocated();
println!(
"{}{}.{} MB",
"{}{}.{:06} MB",
title,
max_memory / 1000000,
max_memory % 1000000
Expand Down

0 comments on commit 9f66fba

Please sign in to comment.