Filename | /usr/lib/x86_64-linux-gnu/perl/5.20/File/Spec.pm |
Statements | Executed 11 statements in 840µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 12µs | 24µs | BEGIN@3 | File::Spec::
1 | 1 | 1 | 6µs | 35µs | BEGIN@4 | File::Spec::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package File::Spec; | ||||
2 | |||||
3 | 2 | 27µs | 2 | 35µs | # spent 24µs (12+11) within File::Spec::BEGIN@3 which was called:
# once (12µs+11µs) by DateTime::TimeZone::Local::BEGIN@8 at line 3 # spent 24µs making 1 call to File::Spec::BEGIN@3
# spent 11µs making 1 call to strict::import |
4 | 2 | 91µs | 2 | 64µs | # spent 35µs (6+28) within File::Spec::BEGIN@4 which was called:
# once (6µs+28µs) by DateTime::TimeZone::Local::BEGIN@8 at line 4 # spent 35µs making 1 call to File::Spec::BEGIN@4
# spent 28µs making 1 call to vars::import |
5 | |||||
6 | 1 | 400ns | $VERSION = '3.48'; | ||
7 | 1 | 2µs | $VERSION =~ tr/_//; | ||
8 | |||||
9 | 1 | 4µs | my %module = (MacOS => 'Mac', | ||
10 | MSWin32 => 'Win32', | ||||
11 | os2 => 'OS2', | ||||
12 | VMS => 'VMS', | ||||
13 | epoc => 'Epoc', | ||||
14 | NetWare => 'Win32', # Yes, File::Spec::Win32 works on NetWare. | ||||
15 | symbian => 'Win32', # Yes, File::Spec::Win32 works on symbian. | ||||
16 | dos => 'OS2', # Yes, File::Spec::OS2 works on DJGPP. | ||||
17 | cygwin => 'Cygwin'); | ||||
18 | |||||
19 | 1 | 2µs | my $module = $module{$^O} || 'Unix'; | ||
20 | |||||
21 | 1 | 702µs | require "File/Spec/$module.pm"; | ||
22 | 1 | 5µs | @ISA = ("File::Spec::$module"); | ||
23 | |||||
24 | 1 | 6µs | 1; | ||
25 | |||||
26 | __END__ |