pub struct TimerCallbackPerformanceStatus {
pub instruction_samples_since_runtime_start: u64,
pub instructions_latest: Option<u64>,
pub instructions_maximum: Option<u64>,
pub instructions_total_since_runtime_start: u64,
pub memory_page_samples_since_runtime_start: u64,
pub memory_pages_latest: Option<TimerMemoryPageSampleStatus>,
pub maximum_wasm_memory_growth_pages: Option<u64>,
pub maximum_stable_memory_growth_pages: Option<u64>,
}Expand description
Bounded, runtime-epoch observations for one timer callback role.
Samples cover the complete accepted shared-runtime callback path rather than isolating the consumer function from registry and completion work.
Fields§
§instruction_samples_since_runtime_start: u64§instructions_latest: Option<u64>§instructions_maximum: Option<u64>§instructions_total_since_runtime_start: u64§memory_page_samples_since_runtime_start: u64§memory_pages_latest: Option<TimerMemoryPageSampleStatus>§maximum_wasm_memory_growth_pages: Option<u64>§maximum_stable_memory_growth_pages: Option<u64>Trait Implementations§
Source§impl Clone for TimerCallbackPerformanceStatus
impl Clone for TimerCallbackPerformanceStatus
Source§fn clone(&self) -> TimerCallbackPerformanceStatus
fn clone(&self) -> TimerCallbackPerformanceStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for TimerCallbackPerformanceStatus
impl<'de> Deserialize<'de> for TimerCallbackPerformanceStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TimerCallbackPerformanceStatus
impl StructuralPartialEq for TimerCallbackPerformanceStatus
Auto Trait Implementations§
impl Freeze for TimerCallbackPerformanceStatus
impl RefUnwindSafe for TimerCallbackPerformanceStatus
impl Send for TimerCallbackPerformanceStatus
impl Sync for TimerCallbackPerformanceStatus
impl Unpin for TimerCallbackPerformanceStatus
impl UnsafeUnpin for TimerCallbackPerformanceStatus
impl UnwindSafe for TimerCallbackPerformanceStatus
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