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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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