pub struct ExecutorStats {
pub id: usize,
pub tasks_executed: u128,
pub instructs_sent: u128,
pub blocked_senders: u128,
pub max_blocked_senders: usize,
pub exhausted_slice: u128,
pub recv_time: Duration,
pub time_on_queue: Duration,
pub disturbed_nap: u128,
pub sleep_count: u128,
pub sleep_time: Duration,
}
Expand description
The ExecutorStats expose metrics for each executor.
Fields§
§id: usize
§tasks_executed: u128
§instructs_sent: u128
§blocked_senders: u128
§max_blocked_senders: usize
§exhausted_slice: u128
§recv_time: Duration
§time_on_queue: Duration
§disturbed_nap: u128
§sleep_count: u128
§sleep_time: Duration
Trait Implementations§
Source§impl Clone for ExecutorStats
impl Clone for ExecutorStats
Source§fn clone(&self) -> ExecutorStats
fn clone(&self) -> ExecutorStats
Returns a duplicate of the value. Read more
1.0.0 · 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 ExecutorStats
impl Debug for ExecutorStats
Source§impl Default for ExecutorStats
impl Default for ExecutorStats
Source§fn default() -> ExecutorStats
fn default() -> ExecutorStats
Returns the “default value” for a type. Read more
Source§impl PartialEq for ExecutorStats
impl PartialEq for ExecutorStats
impl Copy for ExecutorStats
impl Eq for ExecutorStats
impl StructuralPartialEq for ExecutorStats
Auto Trait Implementations§
impl Freeze for ExecutorStats
impl RefUnwindSafe for ExecutorStats
impl Send for ExecutorStats
impl Sync for ExecutorStats
impl Unpin for ExecutorStats
impl UnwindSafe for ExecutorStats
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