Skip to content

Commit 01242c3

Browse files
authored
Make xtest happy
1 parent 63c8909 commit 01242c3

File tree

1 file changed

+21
-19
lines changed

1 file changed

+21
-19
lines changed

doc/Type/Telemetry.pod6

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ as well as on an instantiated C<Telemetry> object. When loading it as a
1616
module with the C<:COLUMNS> named parameter, these are also available as
1717
standalone subroutines.
1818
19-
=begin code
20-
use Telemetry; # imports default subroutines: T, snap, snapper, periods, report
19+
=begin code :skip-test
20+
use Telemetry; # imports default subroutines: T, snap, snapper, periods, report
2121
use Telemetry :COLUMNS; # imports all of the possible columns of report
2222
use Telemetry < cpu wallclock snap >; # only imports cpu, wallclock and snap
2323
=end code
@@ -157,14 +157,16 @@ The C<periods> subroutine processes an array of C<Telemetry> objects and
157157
generates a L<Seq> of C<Telemetry::Period> objects out of that. It is exported
158158
by default.
159159
160-
=begin code
160+
=begin code :preamble<my @t;use Telemetry;>
161161
.say for periods(@t);
162-
====================
163-
164 / 160
164-
23 / 21
165-
17 / 17
166-
15 / 16
167-
29 / 28
162+
163+
# OUTPUT:
164+
# ====================
165+
# 164 / 160
166+
# 23 / 21
167+
# 17 / 17
168+
# 15 / 16
169+
# 29 / 28
168170
=end code
169171
170172
If no array is specified, it will use the internal array of C<snap> without
@@ -178,12 +180,14 @@ for ^5 {
178180
LAST snap;
179181
}
180182
.say for periods;
181-
====================
182-
172 / 168
183-
24 / 21
184-
17 / 18
185-
17 / 16
186-
27 / 27
183+
184+
# OUTPUT:
185+
# ====================
186+
# 172 / 168
187+
# 24 / 21
188+
# 17 / 18
189+
# 17 / 16
190+
# 27 / 27
187191
=end code
188192
189193
If only one C<snap> was done, another C<snap> will be done to create at least
@@ -207,6 +211,7 @@ the abbreviated column name (e.g. C<gw>). If not specified, defaults to
207211
what is specified in the C<RAKUDO_REPORT_COLUMNS> environment variable.
208212
If that is not set either, defaults to:
209213
214+
=for code :skip-test
210215
wallclock util% max-rss gw gtc tw ttc aw atc
211216
212217
=item :header-repeat
@@ -225,9 +230,6 @@ If that is not set either, defaults to True.
225230
If there are C<snap>s available in the internal array at the end of the
226231
program, then C<report> will be automatically generated and printed on C<STDERR>.
227232
228-
=head1 See Also
229-
230-
L<Telemetry::Period>
231-
L<snapper>
233+
See Also: L<Telemetry::Period>, L<snapper>
232234
233235
=end pod

0 commit comments

Comments
 (0)