Function total_ram_size

Source
pub fn total_ram_size() -> usize
Expand description

Returns the total size of physical memory (RAM) on the platform.

It should be equal to the sum of sizes of all physical memory ranges (returned by phys_ram_ranges).