Filename | /usr/share/perl5/DateTime/TimeZone/UTC.pm |
Statements | Executed 14 statements in 280µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 21µs | 26µs | BEGIN@3 | DateTime::TimeZone::UTC::
1 | 1 | 1 | 14µs | 78µs | BEGIN@9 | DateTime::TimeZone::UTC::
1 | 1 | 1 | 12µs | 52µs | BEGIN@5 | DateTime::TimeZone::UTC::
1 | 1 | 1 | 11µs | 11µs | BEGIN@8 | DateTime::TimeZone::UTC::
0 | 0 | 0 | 0s | 0s | category | DateTime::TimeZone::UTC::
0 | 0 | 0 | 0s | 0s | is_dst_for_datetime | DateTime::TimeZone::UTC::
0 | 0 | 0 | 0s | 0s | is_utc | DateTime::TimeZone::UTC::
0 | 0 | 0 | 0s | 0s | new | DateTime::TimeZone::UTC::
0 | 0 | 0 | 0s | 0s | offset_for_datetime | DateTime::TimeZone::UTC::
0 | 0 | 0 | 0s | 0s | offset_for_local_datetime | DateTime::TimeZone::UTC::
0 | 0 | 0 | 0s | 0s | short_name_for_datetime | DateTime::TimeZone::UTC::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package DateTime::TimeZone::UTC; | ||||
2 | |||||
3 | 3 | 35µs | 2 | 30µs | # spent 26µs (21+5) within DateTime::TimeZone::UTC::BEGIN@3 which was called:
# once (21µs+5µs) by DateTime::TimeZone::OffsetOnly::BEGIN@11 at line 3 # spent 26µs making 1 call to DateTime::TimeZone::UTC::BEGIN@3
# spent 5µs making 1 call to strict::import |
4 | |||||
5 | 3 | 66µs | 2 | 92µs | # spent 52µs (12+40) within DateTime::TimeZone::UTC::BEGIN@5 which was called:
# once (12µs+40µs) by DateTime::TimeZone::OffsetOnly::BEGIN@11 at line 5 # spent 52µs making 1 call to DateTime::TimeZone::UTC::BEGIN@5
# spent 40µs making 1 call to vars::import |
6 | 1 | 600ns | $VERSION = 0.01; | ||
7 | |||||
8 | 3 | 39µs | 1 | 11µs | # spent 11µs within DateTime::TimeZone::UTC::BEGIN@8 which was called:
# once (11µs+0s) by DateTime::TimeZone::OffsetOnly::BEGIN@11 at line 8 # spent 11µs making 1 call to DateTime::TimeZone::UTC::BEGIN@8 |
9 | 3 | 135µs | 2 | 78µs | # spent 78µs (14+63) within DateTime::TimeZone::UTC::BEGIN@9 which was called:
# once (14µs+63µs) by DateTime::TimeZone::OffsetOnly::BEGIN@11 at line 9 # spent 78µs making 1 call to DateTime::TimeZone::UTC::BEGIN@9
# spent 63µs making 1 call to base::import, recursion: max depth 1, sum of overlapping time 63µs |
10 | |||||
11 | sub new { | ||||
12 | my $class = shift; | ||||
13 | |||||
14 | return bless { name => 'UTC' }, $class; | ||||
15 | } | ||||
16 | |||||
17 | sub is_dst_for_datetime {0} | ||||
18 | |||||
19 | sub offset_for_datetime {0} | ||||
20 | sub offset_for_local_datetime {0} | ||||
21 | |||||
22 | sub short_name_for_datetime {'UTC'} | ||||
23 | |||||
24 | sub category {undef} | ||||
25 | |||||
26 | sub is_utc {1} | ||||
27 | |||||
28 | 1 | 3µs | 1; | ||
29 | |||||
30 | __END__ |