pub struct LaneDiagnosticsSnapshot { /* private fields */ }Expand description
One immutable structural snapshot used to evaluate Plan placement.
Implementations§
Source§impl LaneDiagnosticsSnapshot
impl LaneDiagnosticsSnapshot
Sourcepub fn lane_cpu_time(&self) -> &BTreeMap<String, Duration>
pub fn lane_cpu_time(&self) -> &BTreeMap<String, Duration>
Returns CPU time consumed by each lane’s owner thread.
Sourcepub fn instance_queue_depth(&self, instance: &str) -> Option<usize>
pub fn instance_queue_depth(&self, instance: &str) -> Option<usize>
Returns the latest bounded request queue depth for one Plugin Instance.
Sourcepub const fn total_messages(&self) -> u64
pub const fn total_messages(&self) -> u64
Returns the number of observed App request messages.
Sourcepub const fn cross_lane_messages(&self) -> u64
pub const fn cross_lane_messages(&self) -> u64
Returns the number of observed messages whose binding crosses lanes.
Returns the share of observed request messages whose binding crosses lanes.
Trait Implementations§
Source§impl Clone for LaneDiagnosticsSnapshot
impl Clone for LaneDiagnosticsSnapshot
Source§fn clone(&self) -> LaneDiagnosticsSnapshot
fn clone(&self) -> LaneDiagnosticsSnapshot
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 Debug for LaneDiagnosticsSnapshot
impl Debug for LaneDiagnosticsSnapshot
Source§impl Default for LaneDiagnosticsSnapshot
impl Default for LaneDiagnosticsSnapshot
Source§fn default() -> LaneDiagnosticsSnapshot
fn default() -> LaneDiagnosticsSnapshot
Returns the “default value” for a type. Read more
Source§impl PartialEq for LaneDiagnosticsSnapshot
impl PartialEq for LaneDiagnosticsSnapshot
impl StructuralPartialEq for LaneDiagnosticsSnapshot
Auto Trait Implementations§
impl Freeze for LaneDiagnosticsSnapshot
impl RefUnwindSafe for LaneDiagnosticsSnapshot
impl Send for LaneDiagnosticsSnapshot
impl Sync for LaneDiagnosticsSnapshot
impl Unpin for LaneDiagnosticsSnapshot
impl UnsafeUnpin for LaneDiagnosticsSnapshot
impl UnwindSafe for LaneDiagnosticsSnapshot
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