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 by themselves, but rather through making a snapshot.

This class provides the following data points (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).