use crate::Snapshot;
#[non_exhaustive]
#[derive(Debug, Clone)]
pub struct MemoryReport {
pub before: Snapshot,
pub after: Snapshot,
}
impl MemoryReport {
#[must_use]
pub const fn new(before: Snapshot, after: Snapshot) -> Self {
Self { before, after }
}
#[must_use]
#[allow(clippy::missing_const_for_fn)] pub fn ram_delta_mb(&self) -> f64 {
0.0
}
#[must_use]
#[allow(clippy::missing_const_for_fn)] pub fn vram_delta_mb(&self) -> Option<f64> {
None
}
#[allow(clippy::missing_const_for_fn)] pub fn print_delta(&self, _label: &str) {
}
#[allow(clippy::missing_const_for_fn)] pub fn print_before_after(&self, _label: &str) {
}
}