Filename | /Users/ap13/perl5/perlbrew/perls/perl-5.16.2/lib/5.16.2/darwin-2level/IO.pm |
Statements | Executed 11 statements in 587µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 9µs | 18µs | BEGIN@8 | IO::
1 | 1 | 1 | 9µs | 47µs | BEGIN@6 | IO::
1 | 1 | 1 | 9µs | 9µs | BEGIN@5 | IO::
1 | 1 | 1 | 8µs | 20µs | BEGIN@7 | IO::
0 | 0 | 0 | 0s | 0s | import | IO::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | # | ||||
2 | |||||
3 | package IO; | ||||
4 | |||||
5 | 2 | 24µs | 1 | 9µs | # spent 9µs within IO::BEGIN@5 which was called:
# once (9µs+0s) by IO::Handle::BEGIN@266 at line 5 # spent 9µs making 1 call to IO::BEGIN@5 |
6 | 2 | 24µs | 2 | 86µs | # spent 47µs (9+38) within IO::BEGIN@6 which was called:
# once (9µs+38µs) by IO::Handle::BEGIN@266 at line 6 # spent 47µs making 1 call to IO::BEGIN@6
# spent 38µs making 1 call to Exporter::import |
7 | 2 | 22µs | 2 | 33µs | # spent 20µs (8+13) within IO::BEGIN@7 which was called:
# once (8µs+13µs) by IO::Handle::BEGIN@266 at line 7 # spent 20µs making 1 call to IO::BEGIN@7
# spent 12µs making 1 call to strict::import |
8 | 2 | 136µs | 2 | 26µs | # spent 18µs (9+8) within IO::BEGIN@8 which was called:
# once (9µs+8µs) by IO::Handle::BEGIN@266 at line 8 # spent 18µs making 1 call to IO::BEGIN@8
# spent 8µs making 1 call to warnings::import |
9 | |||||
10 | 1 | 600ns | our $VERSION = "1.25_06"; | ||
11 | 1 | 374µs | 1 | 366µs | XSLoader::load 'IO', $VERSION; # spent 366µs making 1 call to XSLoader::load |
12 | |||||
13 | sub import { | ||||
14 | shift; | ||||
15 | |||||
16 | warnings::warnif('deprecated', qq{Parameterless "use IO" deprecated}) | ||||
17 | if @_ == 0 ; | ||||
18 | |||||
19 | my @l = @_ ? @_ : qw(Handle Seekable File Pipe Socket Dir); | ||||
20 | |||||
21 | eval join("", map { "require IO::" . (/(\w+)/)[0] . ";\n" } @l) | ||||
22 | or croak $@; | ||||
23 | } | ||||
24 | |||||
25 | 1 | 6µs | 1; | ||
26 | |||||
27 | __END__ |