pub struct OpCost {
pub flops: u64,
pub bytes_read: u64,
pub bytes_written: u64,
}Expand description
Per-operation cost in terms of compute and memory traffic.
Fields§
§flops: u64Total floating-point operations.
bytes_read: u64Bytes read from memory.
bytes_written: u64Bytes written to memory.
Implementations§
Trait Implementations§
impl StructuralPartialEq for OpCost
Auto Trait Implementations§
impl Freeze for OpCost
impl RefUnwindSafe for OpCost
impl Send for OpCost
impl Sync for OpCost
impl Unpin for OpCost
impl UnsafeUnpin for OpCost
impl UnwindSafe for OpCost
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