use heim_common::units::Information;
pub trait MemoryExt {
fn active(&self) -> Information;
fn inactive(&self) -> Information;
fn wire(&self) -> Information;
}
#[cfg(target_os = "macos")]
impl MemoryExt for crate::Memory {
fn active(&self) -> Information {
self.as_ref().active()
}
fn inactive(&self) -> Information {
self.as_ref().inactive()
}
fn wire(&self) -> Information {
self.as_ref().wire()
}
}