pub struct ConfirmationTiming {
pub started: Instant,
pub confirmation_elapsed: u64,
pub replay_elapsed: u64,
pub poh_verify_elapsed: u64,
pub transaction_verify_elapsed: u64,
pub fetch_elapsed: u64,
pub fetch_fail_elapsed: u64,
pub batch_execute: BatchExecutionTiming,
}
Expand description
Measures different parts of the slot confirmation processing pipeline.
Fields§
§started: Instant
Moment when the ConfirmationTiming
instance was created. Used to track the total wall
clock time from the moment the first shard for the slot is received and to the moment the
slot is complete.
confirmation_elapsed: u64
Wall clock time used by the slot confirmation code, including PoH/signature verification,
and replay. As replay can run in parallel with the verification, this value can not be
recovered from the replay_elapsed
and or {poh,transaction}_verify_elapsed
. This
includes failed cases, when confirm_slot_entries
exist with an error. In microseconds.
replay_elapsed: u64
Wall clock time used by the entry replay code. Does not include the PoH or the transaction signature/precompiles verification, but can overlap with the PoH and signature verification. In microseconds.
poh_verify_elapsed: u64
Wall clock times, used for the PoH verification of entries. In microseconds.
transaction_verify_elapsed: u64
Wall clock time, used for the signature verification as well as precompiles verification. In microseconds.
fetch_elapsed: u64
Wall clock time spent loading data sets (and entries) from the blockstore. This does not include the case when the blockstore load failed. In microseconds.
fetch_fail_elapsed: u64
Same as fetch_elapsed
above, but for the case when the blockstore load fails. In
microseconds.
batch_execute: BatchExecutionTiming
batch_execute()
measurements.
Trait Implementations§
source§impl Debug for ConfirmationTiming
impl Debug for ConfirmationTiming
Auto Trait Implementations§
impl RefUnwindSafe for ConfirmationTiming
impl Send for ConfirmationTiming
impl Sync for ConfirmationTiming
impl Unpin for ConfirmationTiming
impl UnwindSafe for ConfirmationTiming
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request