Skip to content

Commit b425c3b

Browse files
authored
Update Period.pod6
1 parent 2d03ca4 commit b425c3b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/Type/Telemetry/Period.pod6

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
55
=SUBTITLE Performance data over a period
66
7+
=for code :preamble<class Telemetry { }>
78
class Telemetry::Period is Telemetry { }
89
9-
B<Note: > This class is a Rakudo-specific feature and not standard Perl 6.
10+
B<Note: > This class is a Rakudo-specific feature and not standard Perl 6.
1011
1112
A C<Telemetry::Period> object contains the difference between two C<Telemetry>
1213
objects. It is generally not created by calling .new, but it can be if needed:
@@ -26,6 +27,7 @@ say "Code took $period (cpu / wallclock) microseconds to execute";
2627
2728
=head2 method perl
2829
30+
=for code :preamble<use Telemetry;>
2931
multi method perl(Telemetry::Period:D: --> Str)
3032
3133
Returns a Perlish representation of the C<Telemetry::Period> object.

0 commit comments

Comments
 (0)