Skip to main content

format_gib

Function format_gib 

Source
pub fn format_gib(bytes: u64) -> String
Expand description

Format a byte count as GiB with one decimal, e.g. 17.2 GB.

Deliberately GiB-not-GB: it matches how every other memory figure in the launch path is computed, and a banner whose numbers disagree with the --cache-ram budget beside them is worse than no banner.