Filename | /usr/lib/perl/5.10/IO.pm |
Statements | Executed 15 statements in 819µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 47µs | 79µs | BEGIN@8 | IO::
1 | 1 | 1 | 33µs | 108µs | BEGIN@6 | IO::
1 | 1 | 1 | 18µs | 18µs | BEGIN@5 | 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 | 3 | 60µs | 1 | 18µs | # spent 18µs within IO::BEGIN@5 which was called:
# once (18µs+0s) by IO::Handle::BEGIN@9 at line 5 # spent 18µs making 1 call to IO::BEGIN@5 |
6 | 3 | 46µs | 2 | 183µs | # spent 108µs (33+75) within IO::BEGIN@6 which was called:
# once (33µs+75µs) by IO::Handle::BEGIN@9 at line 6 # spent 108µs making 1 call to IO::BEGIN@6
# spent 75µs making 1 call to Exporter::import |
7 | 3 | 44µs | 2 | 30µ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 | 3 | 253µs | 2 | 110µs | # spent 79µs (47+32) within IO::BEGIN@8 which was called:
# once (47µs+32µs) by IO::Handle::BEGIN@9 at line 8 # spent 79µs making 1 call to IO::BEGIN@8
# spent 32µs making 1 call to warnings::import |
9 | |||||
10 | 1 | 1µs | our $VERSION = "1.25"; | ||
11 | 1 | 405µs | 1 | 395µs | XSLoader::load 'IO', $VERSION; # spent 395µ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 | 8µs | 1; | ||
26 | |||||
27 | __END__ |