Filename | /usr/lib/perl/5.14/IO.pm |
Statements | Executed 11 statements in 634µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 24µs | 24µs | BEGIN@5 | IO::
1 | 1 | 1 | 15µs | 109µs | BEGIN@6 | IO::
1 | 1 | 1 | 15µs | 33µs | BEGIN@8 | IO::
1 | 1 | 1 | 15µs | 22µ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 | 40µs | 1 | 24µs | # spent 24µs within IO::BEGIN@5 which was called:
# once (24µs+0s) by IO::Handle::BEGIN@9 at line 5 # spent 24µs making 1 call to IO::BEGIN@5 |
6 | 2 | 41µs | 2 | 203µs | # spent 109µs (15+94) within IO::BEGIN@6 which was called:
# once (15µs+94µs) by IO::Handle::BEGIN@9 at line 6 # spent 109µs making 1 call to IO::BEGIN@6
# spent 94µs making 1 call to Exporter::import |
7 | 2 | 39µs | 2 | 29µs | # spent 22µs (15+7) within IO::BEGIN@7 which was called:
# once (15µs+7µs) by IO::Handle::BEGIN@9 at line 7 # spent 22µs making 1 call to IO::BEGIN@7
# spent 7µs making 1 call to strict::import |
8 | 2 | 208µs | 2 | 51µs | # spent 33µs (15+18) within IO::BEGIN@8 which was called:
# once (15µs+18µs) by IO::Handle::BEGIN@9 at line 8 # spent 33µs making 1 call to IO::BEGIN@8
# spent 18µs making 1 call to warnings::import |
9 | |||||
10 | 1 | 2µs | our $VERSION = "1.25_04"; | ||
11 | 1 | 298µs | 1 | 287µs | XSLoader::load 'IO', $VERSION; # spent 287µ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 | 7µs | 1; | ||
26 | |||||
27 | __END__ |