pub struct ProofCount {
pub lines_checked: u64,
pub segments_by_digest: u64,
pub bytes_read: u64,
pub bytes_hashed: u64,
pub waves: u64,
}Expand description
What one proof read and computed: counts rather than time, so a test can hold them at two sizes of history.
Fields§
§lines_checked: u64Lines checked one by one through LineCheck.
segments_by_digest: u64Segments whose record stood in for checking their prefix.
bytes_read: u64§bytes_hashed: u64§waves: u64Waves the segments were read in, each wave read side by side
before the chain is walked through it (crates/storage/spec/ChainAudit.lean §8-37).
Trait Implementations§
Source§impl Clone for ProofCount
impl Clone for ProofCount
impl Copy for ProofCount
Source§impl Debug for ProofCount
impl Debug for ProofCount
Source§impl Default for ProofCount
impl Default for ProofCount
impl Eq for ProofCount
Source§impl PartialEq for ProofCount
impl PartialEq for ProofCount
impl StructuralPartialEq for ProofCount
Auto Trait Implementations§
impl Freeze for ProofCount
impl RefUnwindSafe for ProofCount
impl Send for ProofCount
impl Sync for ProofCount
impl Unpin for ProofCount
impl UnsafeUnpin for ProofCount
impl UnwindSafe for ProofCount
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