class Telemetry::Instrument::ThreadPool { }

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

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

  • atc

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

  • atq

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

  • aw

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

  • gtc

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

  • gtq

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

  • gw

The number of general workers (general-workers).

  • s

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

  • ttc

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

  • ttq

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

  • tw

The number of timer workers (timer-workers).