pub struct Cost {
pub bytes: f64,
pub flops: f64,
pub time_us: f64,
}Expand description
2026-09-29: One node’s estimate.
Fields§
§bytes: f642026-09-29: DRAM bytes.
flops: f642026-09-29: FLOPs.
time_us: f642026-09-29: max(bytes / bandwidth, flops / peak), microseconds.
Trait Implementations§
impl Copy for Cost
impl StructuralPartialEq for Cost
Auto Trait Implementations§
impl Freeze for Cost
impl RefUnwindSafe for Cost
impl Send for Cost
impl Sync for Cost
impl Unpin for Cost
impl UnwindSafe for Cost
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more