Filename | /home/ss5/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/x86_64-linux-thread-multi/IO.pm |
Statements | Executed 11 statements in 1.98ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 37µs | 37µs | BEGIN@5 | IO::
1 | 1 | 1 | 29µs | 59µs | BEGIN@8 | IO::
1 | 1 | 1 | 28µs | 39µs | BEGIN@7 | IO::
1 | 1 | 1 | 26µs | 163µ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 | 2 | 113µs | 1 | 37µs | # spent 37µs within IO::BEGIN@5 which was called:
# once (37µs+0s) by IO::Handle::BEGIN@266 at line 5 # spent 37µs making 1 call to IO::BEGIN@5 |
6 | 2 | 88µs | 2 | 299µs | # spent 163µs (26+136) within IO::BEGIN@6 which was called:
# once (26µs+136µs) by IO::Handle::BEGIN@266 at line 6 # spent 163µs making 1 call to IO::BEGIN@6
# spent 136µs making 1 call to Exporter::import |
7 | 2 | 85µs | 2 | 49µs | # spent 39µs (28+11) within IO::BEGIN@7 which was called:
# once (28µs+11µs) by IO::Handle::BEGIN@266 at line 7 # spent 39µs making 1 call to IO::BEGIN@7
# spent 11µs making 1 call to strict::import |
8 | 2 | 602µs | 2 | 88µs | # spent 59µs (29+29) within IO::BEGIN@8 which was called:
# once (29µs+29µs) by IO::Handle::BEGIN@266 at line 8 # spent 59µs making 1 call to IO::BEGIN@8
# spent 30µs making 1 call to warnings::import |
9 | |||||
10 | 1 | 3µs | our $VERSION = "1.25_04"; | ||
11 | 1 | 1.06ms | 1 | 1.03ms | XSLoader::load 'IO', $VERSION; # spent 1.03ms 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 | 22µs | 1; | ||
26 | |||||
27 | __END__ |