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.85ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 34µs | 34µs | BEGIN@5 | IO::
1 | 1 | 1 | 30µs | 45µs | BEGIN@7 | IO::
1 | 1 | 1 | 29µs | 57µs | BEGIN@8 | IO::
1 | 1 | 1 | 29µs | 184µ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 | 92µs | 1 | 34µs | # spent 34µs within IO::BEGIN@5 which was called:
# once (34µs+0s) by IO::Handle::BEGIN@266 at line 5 # spent 34µs making 1 call to IO::BEGIN@5 |
6 | 2 | 92µs | 2 | 340µs | # spent 184µs (29+156) within IO::BEGIN@6 which was called:
# once (29µs+156µs) by IO::Handle::BEGIN@266 at line 6 # spent 184µs making 1 call to IO::BEGIN@6
# spent 156µs making 1 call to Exporter::import |
7 | 2 | 90µs | 2 | 60µs | # spent 45µs (30+15) within IO::BEGIN@7 which was called:
# once (30µs+15µs) by IO::Handle::BEGIN@266 at line 7 # spent 45µs making 1 call to IO::BEGIN@7
# spent 15µs making 1 call to strict::import |
8 | 2 | 574µs | 2 | 85µs | # spent 57µs (29+28) within IO::BEGIN@8 which was called:
# once (29µs+28µs) by IO::Handle::BEGIN@266 at line 8 # spent 57µs making 1 call to IO::BEGIN@8
# spent 28µs making 1 call to warnings::import |
9 | |||||
10 | 1 | 2µs | our $VERSION = "1.25_04"; | ||
11 | 1 | 980µs | 1 | 942µs | XSLoader::load 'IO', $VERSION; # spent 942µ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 | 21µs | 1; | ||
26 | |||||
27 | __END__ |