← Index
NYTProf Performance Profile   « line view »
For svc/members/upsert
  Run on Tue Jan 13 11:50:22 2015
Reported on Tue Jan 13 12:09:47 2015

Filename/usr/share/perl5/DateTime/TimeZone/UTC.pm
StatementsExecuted 8 statements in 177µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11116µs28µsDateTime::TimeZone::UTC::::BEGIN@3DateTime::TimeZone::UTC::BEGIN@3
1118µs12µsDateTime::TimeZone::UTC::::BEGIN@4DateTime::TimeZone::UTC::BEGIN@4
1116µs32µsDateTime::TimeZone::UTC::::BEGIN@6DateTime::TimeZone::UTC::BEGIN@6
0000s0sDateTime::TimeZone::UTC::::_new_instanceDateTime::TimeZone::UTC::_new_instance
0000s0sDateTime::TimeZone::UTC::::categoryDateTime::TimeZone::UTC::category
0000s0sDateTime::TimeZone::UTC::::is_dst_for_datetimeDateTime::TimeZone::UTC::is_dst_for_datetime
0000s0sDateTime::TimeZone::UTC::::is_utcDateTime::TimeZone::UTC::is_utc
0000s0sDateTime::TimeZone::UTC::::newDateTime::TimeZone::UTC::new
0000s0sDateTime::TimeZone::UTC::::offset_for_datetimeDateTime::TimeZone::UTC::offset_for_datetime
0000s0sDateTime::TimeZone::UTC::::offset_for_local_datetimeDateTime::TimeZone::UTC::offset_for_local_datetime
0000s0sDateTime::TimeZone::UTC::::short_name_for_datetimeDateTime::TimeZone::UTC::short_name_for_datetime
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package DateTime::TimeZone::UTC;
21300ns$DateTime::TimeZone::UTC::VERSION = '1.75';
3226µs240µs
# spent 28µs (16+12) within DateTime::TimeZone::UTC::BEGIN@3 which was called: # once (16µs+12µs) by DateTime::TimeZone::OffsetOnly::BEGIN@8 at line 3
use strict;
# spent 28µs making 1 call to DateTime::TimeZone::UTC::BEGIN@3 # spent 12µs making 1 call to strict::import
4225µs217µs
# spent 12µs (8+4) within DateTime::TimeZone::UTC::BEGIN@4 which was called: # once (8µs+4µs) by DateTime::TimeZone::OffsetOnly::BEGIN@8 at line 4
use warnings;
# spent 12µs making 1 call to DateTime::TimeZone::UTC::BEGIN@4 # spent 4µs making 1 call to warnings::import
5
62124µs232µs
# spent 32µs (6+26) within DateTime::TimeZone::UTC::BEGIN@6 which was called: # once (6µs+26µs) by DateTime::TimeZone::OffsetOnly::BEGIN@8 at line 6
use parent 'Class::Singleton', 'DateTime::TimeZone';
# spent 32µs making 1 call to DateTime::TimeZone::UTC::BEGIN@6 # spent 26µs making 1 call to parent::import, recursion: max depth 1, sum of overlapping time 26µs
7
8sub new {
9 return shift->instance;
10}
11
12sub _new_instance {
13 my $class = shift;
14
15 return bless { name => 'UTC' }, $class;
16}
17
18sub is_dst_for_datetime {0}
19
20sub offset_for_datetime {0}
21sub offset_for_local_datetime {0}
22
23sub short_name_for_datetime {'UTC'}
24
25sub category {undef}
26
27sub is_utc {1}
28
2912µs1;
30
31# ABSTRACT: The UTC time zone
32
33__END__