Filename | /usr/share/perl/5.10/bytes.pm |
Statements | Executed 14 statements in 231µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 532µs | 646µs | AUTOLOAD | bytes::
9 | 9 | 4 | 53µs | 53µs | import | bytes::
0 | 0 | 0 | 0s | 0s | unimport | bytes::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package bytes; | ||||
2 | |||||
3 | 1 | 2µs | our $VERSION = '1.03'; | ||
4 | |||||
5 | 1 | 1µs | $bytes::hint_bits = 0x00000008; | ||
6 | |||||
7 | # spent 53µs within bytes::import which was called 9 times, avg 6µs/call:
# once (10µs+0s) by Data::Dumper::BEGIN@683 at line 683 of Data/Dumper.pm
# once (7µs+0s) by charnames::BEGIN@174 at line 174 of charnames.pm
# once (6µs+0s) by Encode::utf8::BEGIN@309 at line 309 of Encode.pm
# once (6µs+0s) by bytes::BEGIN@4 at line 4 of bytes_heavy.pl
# once (5µs+0s) by bytes::BEGIN@22 at line 22 of bytes_heavy.pl
# once (5µs+0s) by bytes::BEGIN@27 at line 27 of bytes_heavy.pl
# once (5µs+0s) by bytes::BEGIN@34 at line 34 of bytes_heavy.pl
# once (5µs+0s) by bytes::BEGIN@9 at line 9 of bytes_heavy.pl
# once (4µs+0s) by bytes::BEGIN@17 at line 17 of bytes_heavy.pl | ||||
8 | 9 | 89µs | $^H |= $bytes::hint_bits; | ||
9 | } | ||||
10 | |||||
11 | sub unimport { | ||||
12 | $^H &= ~$bytes::hint_bits; | ||||
13 | } | ||||
14 | |||||
15 | # spent 646µs (532+114) within bytes::AUTOLOAD which was called:
# once (532µs+114µs) by MARC::File::USMARC::_build_tag_directory at line 276 of MARC/File/USMARC.pm | ||||
16 | 1 | 118µs | require "bytes_heavy.pl"; | ||
17 | 1 | 15µs | 1 | 4µs | goto &$AUTOLOAD if defined &$AUTOLOAD; # spent 4µs making 1 call to bytes::length |
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 | 6µs | 1; | ||
30 | __END__ |