Skip to main content

write_memory_table

Function write_memory_table 

Source
fn write_memory_table(
    ctx: &RenderContext<'_>,
    f: &mut impl Write,
) -> CargoResult<()>
Expand description

Render a table of peak memory usage per unit, sorted from most to least.

Skipped when no unit has a UnitData::peak_memory value (e.g. without -Zmem-stats, or on an unsupported platform).