pub struct ExecuteDetailsTimings {
pub serialize_us: u64,
pub create_vm_us: u64,
pub execute_us: u64,
pub deserialize_us: u64,
pub get_or_create_executor_us: u64,
pub changed_account_count: u64,
pub total_account_count: u64,
pub create_executor_register_syscalls_us: u64,
pub create_executor_load_elf_us: u64,
pub create_executor_verify_code_us: u64,
pub create_executor_jit_compile_us: u64,
pub per_program_timings: HashMap<Pubkey, ProgramTiming>,
}
Fields§
§serialize_us: u64
§create_vm_us: u64
§execute_us: u64
§deserialize_us: u64
§get_or_create_executor_us: u64
§changed_account_count: u64
§total_account_count: u64
§create_executor_register_syscalls_us: u64
§create_executor_load_elf_us: u64
§create_executor_verify_code_us: u64
§create_executor_jit_compile_us: u64
§per_program_timings: HashMap<Pubkey, ProgramTiming>
Implementations§
source§impl ExecuteDetailsTimings
impl ExecuteDetailsTimings
pub fn accumulate(&mut self, other: &ExecuteDetailsTimings)
pub fn accumulate_program( &mut self, program_id: &Pubkey, us: u64, compute_units_consumed: u64, is_error: bool, )
Trait Implementations§
source§impl Debug for ExecuteDetailsTimings
impl Debug for ExecuteDetailsTimings
source§impl Default for ExecuteDetailsTimings
impl Default for ExecuteDetailsTimings
source§fn default() -> ExecuteDetailsTimings
fn default() -> ExecuteDetailsTimings
Returns the “default value” for a type. Read more
source§impl PartialEq for ExecuteDetailsTimings
impl PartialEq for ExecuteDetailsTimings
impl Eq for ExecuteDetailsTimings
impl StructuralPartialEq for ExecuteDetailsTimings
Auto Trait Implementations§
impl Freeze for ExecuteDetailsTimings
impl RefUnwindSafe for ExecuteDetailsTimings
impl Send for ExecuteDetailsTimings
impl Sync for ExecuteDetailsTimings
impl Unpin for ExecuteDetailsTimings
impl UnwindSafe for ExecuteDetailsTimings
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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>
Converts
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>
Converts
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 more