| Filename | /home/ss5/perl5/perlbrew/perls/tapper-perl/lib/5.16.3/x86_64-linux/IO.pm |
| Statements | Executed 11 statements in 345µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 8µs | 17µs | IO::BEGIN@7 |
| 1 | 1 | 1 | 7µs | 12µs | IO::BEGIN@8 |
| 1 | 1 | 1 | 6µs | 6µs | IO::BEGIN@5 |
| 1 | 1 | 1 | 6µs | 31µs | IO::BEGIN@6 |
| 0 | 0 | 0 | 0s | 0s | IO::import |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | # | ||||
| 2 | |||||
| 3 | package IO; | ||||
| 4 | |||||
| 5 | 2 | 19µs | 1 | 6µs | # spent 6µs within IO::BEGIN@5 which was called:
# once (6µs+0s) by IO::Handle::BEGIN@266 at line 5 # spent 6µs making 1 call to IO::BEGIN@5 |
| 6 | 2 | 17µs | 2 | 56µs | # spent 31µs (6+25) within IO::BEGIN@6 which was called:
# once (6µs+25µs) by IO::Handle::BEGIN@266 at line 6 # spent 31µs making 1 call to IO::BEGIN@6
# spent 25µs making 1 call to Exporter::import |
| 7 | 2 | 16µs | 2 | 26µs | # spent 17µs (8+9) within IO::BEGIN@7 which was called:
# once (8µs+9µs) by IO::Handle::BEGIN@266 at line 7 # spent 17µs making 1 call to IO::BEGIN@7
# spent 9µs making 1 call to strict::import |
| 8 | 2 | 93µs | 2 | 17µs | # spent 12µs (7+5) within IO::BEGIN@8 which was called:
# once (7µs+5µs) by IO::Handle::BEGIN@266 at line 8 # spent 12µs making 1 call to IO::BEGIN@8
# spent 5µs making 1 call to warnings::import |
| 9 | |||||
| 10 | 1 | 500ns | our $VERSION = "1.25_06"; | ||
| 11 | 1 | 197µs | 1 | 190µs | XSLoader::load 'IO', $VERSION; # spent 190µ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 | 3µs | 1; | ||
| 26 | |||||
| 27 | __END__ |