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: InstantMoment 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: u64Wall 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.
When unified scheduler is enabled, replay excludes the transaction execution, only
accounting for task creation and submission to the scheduler.
replay_elapsed: u64Wall 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. When unified scheduler is enabled, replay excludes the transaction execution, only accounting for task creation and submission to the scheduler.
poh_verify_elapsed: u64Wall clock times, used for the PoH verification of entries. In microseconds.
transaction_verify_elapsed: u64Wall clock time, used for the signature verification as well as precompiles verification. In microseconds.
fetch_elapsed: u64Wall 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: u64Same as fetch_elapsed above, but for the case when the blockstore load fails. In
microseconds.
batch_execute: BatchExecutionTimingbatch_execute() measurements.
Trait Implementations§
Source§impl Debug for ConfirmationTiming
impl Debug for ConfirmationTiming
Auto Trait Implementations§
impl Freeze for ConfirmationTiming
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§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