| Filename | /home/ss5/perl5/perlbrew/perls/tapper-perl/lib/5.16.3/utf8.pm |
| Statements | Executed 5 statements in 63µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 3.02ms | 3.18ms | utf8::AUTOLOAD |
| 0 | 0 | 0 | 0s | 0s | utf8::import |
| 0 | 0 | 0 | 0s | 0s | utf8::unimport |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package utf8; | ||||
| 2 | |||||
| 3 | 1 | 300ns | $utf8::hint_bits = 0x00800000; | ||
| 4 | |||||
| 5 | 1 | 300ns | our $VERSION = '1.09'; | ||
| 6 | |||||
| 7 | sub import { | ||||
| 8 | $^H |= $utf8::hint_bits; | ||||
| 9 | $enc{caller()} = $_[1] if $_[1]; | ||||
| 10 | } | ||||
| 11 | |||||
| 12 | sub unimport { | ||||
| 13 | $^H &= ~$utf8::hint_bits; | ||||
| 14 | } | ||||
| 15 | |||||
| 16 | # spent 3.18ms (3.02+161µs) within utf8::AUTOLOAD which was called:
# once (3.02ms+161µs) by constant::BEGIN@25 at line 36 of constant.pm | ||||
| 17 | 1 | 40µs | require "utf8_heavy.pl"; | ||
| 18 | 1 | 20µs | 1 | 8.23ms | goto &$AUTOLOAD if defined &$AUTOLOAD; # spent 8.23ms making 1 call to utf8::SWASHNEW |
| 19 | require Carp; | ||||
| 20 | Carp::croak("Undefined subroutine $AUTOLOAD called"); | ||||
| 21 | } | ||||
| 22 | |||||
| 23 | 1 | 2µs | 1; | ||
| 24 | __END__ |