| Filename | /usr/lib/perl5/5.14/i686-cygwin-threads-64int/IO.pm |
| Statements | Executed 11 statements in 1.72ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 231µs | 231µs | IO::BEGIN@5 |
| 1 | 1 | 1 | 16µs | 89µs | IO::BEGIN@6 |
| 1 | 1 | 1 | 14µs | 35µs | IO::BEGIN@8 |
| 1 | 1 | 1 | 13µs | 19µs | IO::BEGIN@7 |
| 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 | 80µs | 1 | 231µs | # spent 231µs within IO::BEGIN@5 which was called:
# once (231µs+0s) by IO::Handle::BEGIN@266 at line 5 # spent 231µs making 1 call to IO::BEGIN@5 |
| 6 | 2 | 55µs | 2 | 162µs | # spent 89µs (16+73) within IO::BEGIN@6 which was called:
# once (16µs+73µs) by IO::Handle::BEGIN@266 at line 6 # spent 89µs making 1 call to IO::BEGIN@6
# spent 73µs making 1 call to Exporter::import |
| 7 | 2 | 52µs | 2 | 25µs | # spent 19µs (13+6) within IO::BEGIN@7 which was called:
# once (13µs+6µs) by IO::Handle::BEGIN@266 at line 7 # spent 19µs making 1 call to IO::BEGIN@7
# spent 6µs making 1 call to strict::import |
| 8 | 2 | 321µs | 2 | 56µs | # spent 35µs (14+21) within IO::BEGIN@8 which was called:
# once (14µs+21µs) by IO::Handle::BEGIN@266 at line 8 # spent 35µs making 1 call to IO::BEGIN@8
# spent 21µs making 1 call to warnings::import |
| 9 | |||||
| 10 | 1 | 2µs | our $VERSION = "1.25_04"; | ||
| 11 | 1 | 1.19ms | 1 | 1.18ms | XSLoader::load 'IO', $VERSION; # spent 1.18ms 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 | 16µs | 1; | ||
| 26 | |||||
| 27 | __END__ |