Filename | /usr/lib64/perl5/vendor_perl/5.16.0/x86_64-linux/IO.pm |
Statements | Executed 11 statements in 11.4ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 55µs | 184µs | BEGIN@7 | IO::
1 | 1 | 1 | 54µs | 87µs | BEGIN@8 | IO::
1 | 1 | 1 | 54µs | 294µs | BEGIN@6 | IO::
1 | 1 | 1 | 51µs | 51µs | BEGIN@5 | 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 | 143µs | 1 | 51µs | # spent 51µs within IO::BEGIN@5 which was called:
# once (51µs+0s) by IO::Handle::BEGIN@266 at line 5 # spent 51µs making 1 call to IO::BEGIN@5 |
6 | 2 | 183µs | 2 | 535µs | # spent 294µs (54+240) within IO::BEGIN@6 which was called:
# once (54µs+240µs) by IO::Handle::BEGIN@266 at line 6 # spent 294µs making 1 call to IO::BEGIN@6
# spent 240µs making 1 call to Exporter::import |
7 | 2 | 153µs | 2 | 313µs | # spent 184µs (55+129) within IO::BEGIN@7 which was called:
# once (55µs+129µs) by IO::Handle::BEGIN@266 at line 7 # spent 184µs making 1 call to IO::BEGIN@7
# spent 129µs making 1 call to strict::import |
8 | 2 | 713µs | 2 | 120µs | # spent 87µs (54+33) within IO::BEGIN@8 which was called:
# once (54µs+33µs) by IO::Handle::BEGIN@266 at line 8 # spent 87µs making 1 call to IO::BEGIN@8
# spent 33µs making 1 call to warnings::import |
9 | |||||
10 | 1 | 3µs | our $VERSION = "1.25"; | ||
11 | 1 | 10.2ms | 1 | 10.2ms | XSLoader::load 'IO', $VERSION; # spent 10.2ms 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 | 23µs | 1; | ||
26 | |||||
27 | __END__ |