File | /usr/share/perl/5.10/bytes.pm |
Statements Executed | 6 |
Total Time | 1.44e-05 seconds |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
3 | 3 | 3 | 27µs | 27µs | import | bytes::
0 | 0 | 0 | 0s | 0s | AUTOLOAD | bytes::
0 | 0 | 0 | 0s | 0s | unimport | bytes::
Line | Stmts. | Exclusive Time | Avg. | Code |
---|---|---|---|---|
1 | package bytes; | |||
2 | ||||
3 | 1 | 700ns | 700ns | our $VERSION = '1.03'; |
4 | ||||
5 | 1 | 400ns | 400ns | $bytes::hint_bits = 0x00000008; |
6 | ||||
7 | # spent 27µs within bytes::import which was called 3 times, avg 9µs/call:
# once (10µs+0s) by Data::Dumper::BEGIN or Data::Dumper::qquote at line 663 of /usr/lib/perl/5.10/Data/Dumper.pm
# once (9µs+0s) by Encode::utf8::BEGIN or Encode::predefine_encodings or Encode::utf8::__ANON__[/usr/local/lib/perl/5.10.0/Encode.pm:319] at line 309 of /usr/local/lib/perl/5.10.0/Encode.pm
# once (8µs+0s) by charnames::charnames at line 174 of /usr/share/perl/5.10/charnames.pm | |||
8 | 3 | 9µs | 3µs | $^H |= $bytes::hint_bits; |
9 | } | |||
10 | ||||
11 | sub unimport { | |||
12 | $^H &= ~$bytes::hint_bits; | |||
13 | } | |||
14 | ||||
15 | sub AUTOLOAD { | |||
16 | require "bytes_heavy.pl"; | |||
17 | goto &$AUTOLOAD if defined &$AUTOLOAD; | |||
18 | require Carp; | |||
19 | Carp::croak("Undefined subroutine $AUTOLOAD called"); | |||
20 | } | |||
21 | ||||
22 | sub length (_); | |||
23 | sub chr (_); | |||
24 | sub ord (_); | |||
25 | sub substr ($$;$$); | |||
26 | sub index ($$;$); | |||
27 | sub rindex ($$;$); | |||
28 | ||||
29 | 1 | 4µs | 4µs | 1; |
30 | __END__ | |||
31 |