Module yatp::metrics[][src]

Metrics of the thread pool.

Structs

MULTILEVEL_LEVEL0_CHANCE

The chance that a level 0 task is scheduled to run.

MULTILEVEL_LEVEL_ELAPSED

Elapsed time of each level in the multilevel task queue.

Functions

set_namespace

Sets the namespace used in the metrics. This function should be called before the metrics are used or any thread pool is created.