Filename | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3/x86_64-linux/IO.pm |
Statements | Executed 15 statements in 456µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 10µs | 26µs | BEGIN@8 | IO::
1 | 1 | 1 | 7µs | 7µs | BEGIN@5 | IO::
1 | 1 | 1 | 6µs | 33µs | BEGIN@6 | IO::
1 | 1 | 1 | 5µs | 7µ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 | 23µs | 1 | 7µs | # spent 7µs within IO::BEGIN@5 which was called:
# once (7µs+0s) by IO::Handle::BEGIN@266 at line 5 # spent 7µs making 1 call to IO::BEGIN@5 |
6 | 3 | 16µs | 2 | 61µs | # spent 33µs (6+27) within IO::BEGIN@6 which was called:
# once (6µs+27µs) by IO::Handle::BEGIN@266 at line 6 # spent 33µs making 1 call to IO::BEGIN@6
# spent 27µs making 1 call to Exporter::import |
7 | 3 | 15µs | 2 | 9µs | # spent 7µs (5+2) within IO::BEGIN@7 which was called:
# once (5µs+2µs) by IO::Handle::BEGIN@266 at line 7 # spent 7µs making 1 call to IO::BEGIN@7
# spent 2µs making 1 call to strict::import |
8 | 3 | 109µs | 2 | 43µs | # spent 26µs (10+17) within IO::BEGIN@8 which was called:
# once (10µs+17µs) by IO::Handle::BEGIN@266 at line 8 # spent 26µs making 1 call to IO::BEGIN@8
# spent 17µs making 1 call to warnings::import |
9 | |||||
10 | 1 | 400ns | our $VERSION = "1.25_02"; | ||
11 | 1 | 289µs | 1 | 283µs | XSLoader::load 'IO', $VERSION; # spent 283µ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 | 4µs | 1; | ||
26 | |||||
27 | __END__ |