Filename | /usr/lib/perl/5.10/IO.pm |
Statements | Executed 15 statements in 771µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 16µs | 44µs | BEGIN@8 | IO::
1 | 1 | 1 | 14µs | 14µs | BEGIN@5 | IO::
1 | 1 | 1 | 12µs | 16µs | BEGIN@7 | IO::
1 | 1 | 1 | 11µs | 71µs | BEGIN@6 | 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 | 58µs | 1 | 14µs | # spent 14µs within IO::BEGIN@5 which was called:
# once (14µs+0s) by IO::Handle::BEGIN@9 at line 5 # spent 14µs making 1 call to IO::BEGIN@5 |
6 | 3 | 37µs | 2 | 131µs | # spent 71µs (11+60) within IO::BEGIN@6 which was called:
# once (11µs+60µs) by IO::Handle::BEGIN@9 at line 6 # spent 71µs making 1 call to IO::BEGIN@6
# spent 60µs making 1 call to Exporter::import |
7 | 3 | 35µs | 2 | 21µs | # spent 16µs (12+5) within IO::BEGIN@7 which was called:
# once (12µs+5µs) by IO::Handle::BEGIN@9 at line 7 # spent 16µs making 1 call to IO::BEGIN@7
# spent 5µs making 1 call to strict::import |
8 | 3 | 260µs | 2 | 72µs | # spent 44µs (16+28) within IO::BEGIN@8 which was called:
# once (16µs+28µs) by IO::Handle::BEGIN@9 at line 8 # spent 44µs making 1 call to IO::BEGIN@8
# spent 28µs making 1 call to warnings::import |
9 | |||||
10 | 1 | 1µs | our $VERSION = "1.25"; | ||
11 | 1 | 372µs | 1 | 361µs | XSLoader::load 'IO', $VERSION; # spent 361µ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__ |