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