Skip to content

Commit 7f11360

Browse files
committed
First stab at documenting Telemetry::Instrument::ThreadPool
1 parent e2cb057 commit 7f11360

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
2+
=begin pod
3+
4+
=TITLE class Telemetry::Instrument::ThreadPool
5+
6+
=SUBTITLE Instrument for collecting ThreadPoolScheduler data
7+
8+
class Telemetry::Instrument::ThreadPool { }
9+
10+
B<Note: > This class is a Rakudo-specific feature and not standard Perl 6.
11+
12+
Objects of this class are generally not created by themselves, but rather
13+
through making a L<snap|/type/Telemetry>shot.
14+
15+
This class provides the following datapoints (in alphabetical order):
16+
17+
=item atc
18+
19+
The number of tasks completed by affinity thread workers
20+
(B<a>ffinity-B<t>asks-B<c>ompleted).
21+
22+
=item atq
23+
24+
The number of tasks queued for execution for affinity thread workers
25+
(B<a>ffinity-B<t>asks-B<q>ueued).
26+
27+
=item aw
28+
29+
The number of affinity thread workers (B<a>ffinity-B<w>orkers).
30+
31+
=item gtc
32+
33+
The number of tasks completed by general workers
34+
(B<g>eneral-B<t>asks-B<c>ompleted).
35+
36+
=item gtq
37+
38+
The number of tasks queued for execution by general worker
39+
(B<g>eneral-B<t>asks-B<q>ueued).
40+
41+
=item gw
42+
43+
The number of general workers (B<g>eneral-B<w>orkers).
44+
45+
=item s
46+
47+
The number of supervisor threads running, usually C<0> or C<1> (B<s>upervisor>).
48+
49+
=item ttc
50+
51+
The number of tasks completed by timer workers (B<t>imer-B<t>asks-B<c>ompleted).
52+
53+
=item ttq
54+
55+
The number of tasks queued for execution by timer workers
56+
(B<t>imer-B<t>asks-B<q>ueued).
57+
58+
=item tw
59+
60+
The number of timer workers (B<t>imer-B<w>orkers).
61+
62+
=end pod
63+
64+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

0 commit comments

Comments
 (0)