| Filename | /usr/libdata/perl5/amd64-openbsd/File/Spec.pm |
| Statements | Executed 11 statements in 374µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 568µs | 912µs | File::Spec::BEGIN@4 |
| 1 | 1 | 1 | 25µs | 36µs | File::Spec::BEGIN@3 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package File::Spec; | ||||
| 2 | |||||
| 3 | 2 | 45µs | 2 | 46µs | # spent 36µs (25+10) within File::Spec::BEGIN@3 which was called:
# once (25µs+10µs) by OpenBSD::PackageInfo::installed_name at line 3 # spent 36µs making 1 call to File::Spec::BEGIN@3
# spent 10µs making 1 call to strict::import |
| 4 | 2 | 205µs | 2 | 961µs | # spent 912µs (568+343) within File::Spec::BEGIN@4 which was called:
# once (568µs+343µs) by OpenBSD::PackageInfo::installed_name at line 4 # spent 912µs making 1 call to File::Spec::BEGIN@4
# spent 49µs making 1 call to vars::import |
| 5 | |||||
| 6 | 1 | 800ns | $VERSION = '3.63_01'; | ||
| 7 | 1 | 2µs | $VERSION =~ tr/_//d; | ||
| 8 | |||||
| 9 | 1 | 7µ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 | amigaos => 'AmigaOS'); | ||||
| 19 | |||||
| 20 | |||||
| 21 | 1 | 2µs | my $module = $module{$^O} || 'Unix'; | ||
| 22 | |||||
| 23 | 1 | 88µs | require "File/Spec/$module.pm"; | ||
| 24 | 1 | 8µs | @ISA = ("File::Spec::$module"); | ||
| 25 | |||||
| 26 | 1 | 16µs | 1; | ||
| 27 | |||||
| 28 | __END__ |