Struct glommio::ExecutorStats [−][src]
pub struct ExecutorStats { /* fields omitted */ }
Expand description
Allows information about the current state of this executor to be consumed by applications.
Implementations
The total amount of runtime in this executor so far.
This is especially important for spinning executors, since the amount of CPU time you will see in the operating system will be a far cry from the CPU time it actually spent executing. Sleeping or Spinning are not accounted here
The total amount of runtime in this executor, plus poll io time
Returns the amount of times the scheduler loop was called. Glommio scheduler selects a task queue to run and runs many tasks in that task queue. This number corresponds to the amount of times was called upon to select a new queue.
Returns the amount of tasks executed in the system, over all queues.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ExecutorStats
impl Send for ExecutorStats
impl Sync for ExecutorStats
impl Unpin for ExecutorStats
impl UnwindSafe for ExecutorStats
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more