pub struct InverseWork {
pub node_executions: u64,
pub input_bytes: u64,
}Expand description
The inverse work of one reconstruction, in abstract integer units (ADR-0034, plan §91). A unit is one node execution or one cold input byte the reconstruction had to read; it is never derived from the source size.
For a cold run (use_cache = false, or a cleared cache) node_executions
is the run’s nodes_executed; for a warm run the numerator comes from the
difference the persisted store made.
Fields§
§node_executions: u64Node executions the run performed.
input_bytes: u64Cold input bytes the run read (descriptor + manifest + index + seed).
Implementations§
Trait Implementations§
Source§impl Clone for InverseWork
impl Clone for InverseWork
impl Copy for InverseWork
Source§impl Debug for InverseWork
impl Debug for InverseWork
Source§impl Default for InverseWork
impl Default for InverseWork
impl Eq for InverseWork
Source§impl PartialEq for InverseWork
impl PartialEq for InverseWork
impl StructuralPartialEq for InverseWork
Auto Trait Implementations§
impl Freeze for InverseWork
impl RefUnwindSafe for InverseWork
impl Send for InverseWork
impl Sync for InverseWork
impl Unpin for InverseWork
impl UnsafeUnpin for InverseWork
impl UnwindSafe for InverseWork
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