Filename | /usr/local/share/perl/5.14.2/DateTime/TimeZone/UTC.pm |
Statements | Executed 15 statements in 209µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 10µs | 10µs | _new_instance | DateTime::TimeZone::UTC::
1 | 1 | 1 | 8µs | 8µs | BEGIN@5 | DateTime::TimeZone::UTC::
1 | 1 | 1 | 6µs | 11µs | BEGIN@10 | DateTime::TimeZone::UTC::
1 | 1 | 1 | 6µs | 9µs | BEGIN@9 | DateTime::TimeZone::UTC::
1 | 1 | 1 | 6µs | 31µs | BEGIN@12 | DateTime::TimeZone::UTC::
2 | 2 | 1 | 2µs | 2µs | is_utc | DateTime::TimeZone::UTC::
1 | 1 | 1 | 1µs | 1µs | offset_for_local_datetime | 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 | new | DateTime::TimeZone::UTC::
0 | 0 | 0 | 0s | 0s | offset_for_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 | 2 | 1µs | $DateTime::TimeZone::UTC::VERSION = '1.63'; | ||
4 | } | ||||
5 | # spent 8µs within DateTime::TimeZone::UTC::BEGIN@5 which was called:
# once (8µs+0s) by DateTime::TimeZone::OffsetOnly::BEGIN@14 at line 7 | ||||
6 | 1 | 8µs | $DateTime::TimeZone::UTC::AUTHORITY = 'cpan:DROLSKY'; | ||
7 | 1 | 19µs | 1 | 8µs | } # spent 8µs making 1 call to DateTime::TimeZone::UTC::BEGIN@5 |
8 | |||||
9 | 2 | 20µs | 2 | 12µs | # spent 9µs (6+3) within DateTime::TimeZone::UTC::BEGIN@9 which was called:
# once (6µs+3µs) by DateTime::TimeZone::OffsetOnly::BEGIN@14 at line 9 # spent 9µs making 1 call to DateTime::TimeZone::UTC::BEGIN@9
# spent 3µs making 1 call to strict::import |
10 | 2 | 23µs | 2 | 15µs | # spent 11µs (6+5) within DateTime::TimeZone::UTC::BEGIN@10 which was called:
# once (6µs+5µs) by DateTime::TimeZone::OffsetOnly::BEGIN@14 at line 10 # spent 11µs making 1 call to DateTime::TimeZone::UTC::BEGIN@10
# spent 4µs making 1 call to warnings::import |
11 | |||||
12 | 2 | 117µs | 2 | 31µs | # spent 31µs (6+25) within DateTime::TimeZone::UTC::BEGIN@12 which was called:
# once (6µs+25µs) by DateTime::TimeZone::OffsetOnly::BEGIN@14 at line 12 # spent 31µs making 1 call to DateTime::TimeZone::UTC::BEGIN@12
# spent 25µs making 1 call to parent::import, recursion: max depth 1, sum of overlapping time 25µs |
13 | |||||
14 | sub new { | ||||
15 | return shift->instance; | ||||
16 | } | ||||
17 | |||||
18 | # spent 10µs within DateTime::TimeZone::UTC::_new_instance which was called:
# once (10µs+0s) by Class::Singleton::instance at line 58 of Class/Singleton.pm | ||||
19 | 2 | 11µs | my $class = shift; | ||
20 | |||||
21 | return bless { name => 'UTC' }, $class; | ||||
22 | } | ||||
23 | |||||
24 | sub is_dst_for_datetime {0} | ||||
25 | |||||
26 | sub offset_for_datetime {0} | ||||
27 | 1 | 3µs | # spent 1µs within DateTime::TimeZone::UTC::offset_for_local_datetime which was called:
# once (1µs+0s) by DateTime::_offset_for_local_datetime at line 946 of DateTime.pm | ||
28 | |||||
29 | sub short_name_for_datetime {'UTC'} | ||||
30 | |||||
31 | sub category {undef} | ||||
32 | |||||
33 | 2 | 5µs | # spent 2µs within DateTime::TimeZone::UTC::is_utc which was called 2 times, avg 900ns/call:
# once (1µs+0s) by DateTime::_calc_utc_rd at line 386 of DateTime.pm
# once (600ns+0s) by DateTime::_calc_local_rd at line 427 of DateTime.pm | ||
34 | |||||
35 | 1 | 2µs | 1; | ||
36 | |||||
37 | # ABSTRACT: The UTC time zone | ||||
38 | |||||
39 | __END__ |