class Telemetry::Instrument::ThreadPool

Instrument for collecting ThreadPoolScheduler data

class Telemetry::Instrument::ThreadPool { }

Note: This class is a Rakudo-specific feature and not standard Perl 6.

Objects of this class are generally not created directly, but rather through making a snapshot. They provide the following attributes (in alphabetical order):

The number of tasks completed by affinity thread workers (affinity-tasks-completed).

The number of tasks queued for execution for affinity thread workers (affinity-tasks-queued).

The number of affinity thread workers (affinity-workers).

The number of tasks completed by general workers (general-tasks-completed).

The number of tasks queued for execution by general worker (general-tasks-queued).

The number of general workers (general-workers).

The number of supervisor threads running, usually 0 or 1 (supervisor).

The number of tasks completed by timer workers (timer-tasks-completed).

The number of tasks queued for execution by timer workers (timer-tasks-queued).

The number of timer workers (timer-workers).

Type Graph

Type relations for Telemetry::Instrument::ThreadPool
perl6-type-graph Telemetry::Instrument::ThreadPool Telemetry::Instrument::ThreadPool Any Any Telemetry::Instrument::ThreadPool->Any Mu Mu Any->Mu

Expand above chart