Function mm0_util::get_memory_usage[][src]

#[must_use]
pub fn get_memory_usage() -> usize

Try to get total memory usage (stack + data) in bytes using the /proc filesystem. Falls back on getrusage() if procfs doesn’t exist.