pub struct RuntimeMetricsSnapshot {
pub processes_spawned: u64,
pub processes_completed: u64,
pub processes_failed: u64,
pub messages_sent: u64,
pub steals: u64,
pub reschedules: u64,
pub jit_compiles: u64,
pub jit_compile_failures: u64,
pub jit_executions: u64,
pub jit_misses: u64,
pub jit_deopts: u64,
}Expand description
Point-in-time, non-atomic copy of RuntimeMetrics suitable for
printing or exporting.
Fields§
§processes_spawned: u64§processes_completed: u64§processes_failed: u64§messages_sent: u64§steals: u64§reschedules: u64§jit_compiles: u64Available on crate feature
§jit only.jit_compile_failures: u64Available on crate feature
§jit only.jit_executions: u64Available on crate feature
§jit only.jit_misses: u64Available on crate feature
§jit only.jit_deopts: u64Available on crate feature
jit only.Trait Implementations§
Source§impl Clone for RuntimeMetricsSnapshot
impl Clone for RuntimeMetricsSnapshot
Source§fn clone(&self) -> RuntimeMetricsSnapshot
fn clone(&self) -> RuntimeMetricsSnapshot
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 moreimpl Copy for RuntimeMetricsSnapshot
Source§impl Debug for RuntimeMetricsSnapshot
impl Debug for RuntimeMetricsSnapshot
Source§impl Default for RuntimeMetricsSnapshot
impl Default for RuntimeMetricsSnapshot
Source§fn default() -> RuntimeMetricsSnapshot
fn default() -> RuntimeMetricsSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RuntimeMetricsSnapshot
impl RefUnwindSafe for RuntimeMetricsSnapshot
impl Send for RuntimeMetricsSnapshot
impl Sync for RuntimeMetricsSnapshot
impl Unpin for RuntimeMetricsSnapshot
impl UnsafeUnpin for RuntimeMetricsSnapshot
impl UnwindSafe for RuntimeMetricsSnapshot
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