Filename | /usr/share/perl5/MARC/Charset/Constants.pm |
Statements | Executed 78 statements in 1.15ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 118µs | 158µs | BEGIN@31 | MARC::Charset::Constants::
1 | 1 | 1 | 31µs | 38µs | BEGIN@18 | MARC::Charset::Constants::
1 | 1 | 1 | 14µs | 79µs | BEGIN@43 | MARC::Charset::Constants::
1 | 1 | 1 | 14µs | 54µs | BEGIN@36 | MARC::Charset::Constants::
1 | 1 | 1 | 13µs | 45µs | BEGIN@30 | MARC::Charset::Constants::
1 | 1 | 1 | 13µs | 78µs | BEGIN@22 | MARC::Charset::Constants::
1 | 1 | 1 | 12µs | 26µs | BEGIN@19 | MARC::Charset::Constants::
1 | 1 | 1 | 12µs | 45µs | BEGIN@29 | MARC::Charset::Constants::
1 | 1 | 1 | 11µs | 57µs | BEGIN@32 | MARC::Charset::Constants::
1 | 1 | 1 | 11µs | 42µs | BEGIN@26 | MARC::Charset::Constants::
1 | 1 | 1 | 11µs | 43µs | BEGIN@42 | MARC::Charset::Constants::
1 | 1 | 1 | 11µs | 43µs | BEGIN@34 | MARC::Charset::Constants::
1 | 1 | 1 | 10µs | 47µs | BEGIN@35 | MARC::Charset::Constants::
1 | 1 | 1 | 9µs | 44µs | BEGIN@45 | MARC::Charset::Constants::
1 | 1 | 1 | 9µs | 46µs | BEGIN@44 | MARC::Charset::Constants::
1 | 1 | 1 | 9µs | 42µs | BEGIN@25 | MARC::Charset::Constants::
1 | 1 | 1 | 9µs | 42µs | BEGIN@47 | MARC::Charset::Constants::
1 | 1 | 1 | 9µs | 40µs | BEGIN@46 | MARC::Charset::Constants::
1 | 1 | 1 | 9µs | 42µs | BEGIN@40 | MARC::Charset::Constants::
1 | 1 | 1 | 9µs | 42µs | BEGIN@39 | MARC::Charset::Constants::
1 | 1 | 1 | 9µs | 65µs | BEGIN@20 | MARC::Charset::Constants::
1 | 1 | 1 | 9µs | 49µs | BEGIN@24 | MARC::Charset::Constants::
1 | 1 | 1 | 9µs | 40µs | BEGIN@37 | MARC::Charset::Constants::
1 | 1 | 1 | 8µs | 40µs | BEGIN@41 | MARC::Charset::Constants::
1 | 1 | 1 | 8µs | 42µs | BEGIN@27 | MARC::Charset::Constants::
0 | 0 | 0 | 0s | 0s | charset_name | MARC::Charset::Constants::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package MARC::Charset::Constants; | ||||
2 | |||||
3 | =head1 NAME | ||||
4 | |||||
- - | |||||
18 | 3 | 47µs | 2 | 44µs | # spent 38µs (31+7) within MARC::Charset::Constants::BEGIN@18 which was called:
# once (31µs+7µs) by MARC::Charset::Code::BEGIN@8 at line 18 # spent 38µs making 1 call to MARC::Charset::Constants::BEGIN@18
# spent 6µs making 1 call to strict::import |
19 | 3 | 31µs | 2 | 40µs | # spent 26µs (12+14) within MARC::Charset::Constants::BEGIN@19 which was called:
# once (12µs+14µs) by MARC::Charset::Code::BEGIN@8 at line 19 # spent 26µs making 1 call to MARC::Charset::Constants::BEGIN@19
# spent 14µs making 1 call to warnings::import |
20 | 3 | 38µs | 2 | 121µs | # spent 65µs (9+56) within MARC::Charset::Constants::BEGIN@20 which was called:
# once (9µs+56µs) by MARC::Charset::Code::BEGIN@8 at line 20 # spent 65µs making 1 call to MARC::Charset::Constants::BEGIN@20
# spent 56µs making 1 call to base::import |
21 | |||||
22 | 3 | 45µs | 2 | 142µs | # spent 78µs (13+65) within MARC::Charset::Constants::BEGIN@22 which was called:
# once (13µs+65µs) by MARC::Charset::Code::BEGIN@8 at line 22 # spent 78µs making 1 call to MARC::Charset::Constants::BEGIN@22
# spent 65µs making 1 call to constant::import |
23 | |||||
24 | 3 | 33µs | 2 | 90µs | # spent 49µs (9+40) within MARC::Charset::Constants::BEGIN@24 which was called:
# once (9µs+40µs) by MARC::Charset::Code::BEGIN@8 at line 24 # spent 49µs making 1 call to MARC::Charset::Constants::BEGIN@24
# spent 40µs making 1 call to constant::import |
25 | 3 | 34µs | 2 | 75µs | # spent 42µs (9+33) within MARC::Charset::Constants::BEGIN@25 which was called:
# once (9µs+33µs) by MARC::Charset::Code::BEGIN@8 at line 25 # spent 42µs making 1 call to MARC::Charset::Constants::BEGIN@25
# spent 33µs making 1 call to constant::import |
26 | 3 | 35µs | 2 | 74µs | # spent 42µs (11+31) within MARC::Charset::Constants::BEGIN@26 which was called:
# once (11µs+31µs) by MARC::Charset::Code::BEGIN@8 at line 26 # spent 42µs making 1 call to MARC::Charset::Constants::BEGIN@26
# spent 31µs making 1 call to constant::import |
27 | 3 | 39µs | 2 | 75µs | # spent 42µs (8+34) within MARC::Charset::Constants::BEGIN@27 which was called:
# once (8µs+34µs) by MARC::Charset::Code::BEGIN@8 at line 27 # spent 42µs making 1 call to MARC::Charset::Constants::BEGIN@27
# spent 34µs making 1 call to constant::import |
28 | |||||
29 | 3 | 34µs | 2 | 78µs | # spent 45µs (12+33) within MARC::Charset::Constants::BEGIN@29 which was called:
# once (12µs+33µs) by MARC::Charset::Code::BEGIN@8 at line 29 # spent 45µs making 1 call to MARC::Charset::Constants::BEGIN@29
# spent 33µs making 1 call to constant::import |
30 | 3 | 36µs | 2 | 76µs | # spent 45µs (13+31) within MARC::Charset::Constants::BEGIN@30 which was called:
# once (13µs+31µs) by MARC::Charset::Code::BEGIN@8 at line 30 # spent 45µs making 1 call to MARC::Charset::Constants::BEGIN@30
# spent 32µs making 1 call to constant::import |
31 | 3 | 50µs | 2 | 198µs | # spent 158µs (118+40) within MARC::Charset::Constants::BEGIN@31 which was called:
# once (118µs+40µs) by MARC::Charset::Code::BEGIN@8 at line 31 # spent 158µs making 1 call to MARC::Charset::Constants::BEGIN@31
# spent 40µs making 1 call to constant::import |
32 | 3 | 41µs | 2 | 103µs | # spent 57µs (11+46) within MARC::Charset::Constants::BEGIN@32 which was called:
# once (11µs+46µs) by MARC::Charset::Code::BEGIN@8 at line 32 # spent 57µs making 1 call to MARC::Charset::Constants::BEGIN@32
# spent 46µs making 1 call to constant::import |
33 | |||||
34 | 3 | 32µs | 2 | 76µs | # spent 43µs (11+33) within MARC::Charset::Constants::BEGIN@34 which was called:
# once (11µs+33µs) by MARC::Charset::Code::BEGIN@8 at line 34 # spent 43µs making 1 call to MARC::Charset::Constants::BEGIN@34
# spent 33µs making 1 call to constant::import |
35 | 3 | 54µs | 2 | 83µs | # spent 47µs (10+36) within MARC::Charset::Constants::BEGIN@35 which was called:
# once (10µs+36µs) by MARC::Charset::Code::BEGIN@8 at line 35 # spent 47µs making 1 call to MARC::Charset::Constants::BEGIN@35
# spent 36µs making 1 call to constant::import |
36 | 3 | 38µs | 2 | 94µs | # spent 54µs (14+40) within MARC::Charset::Constants::BEGIN@36 which was called:
# once (14µs+40µs) by MARC::Charset::Code::BEGIN@8 at line 36 # spent 54µs making 1 call to MARC::Charset::Constants::BEGIN@36
# spent 40µs making 1 call to constant::import |
37 | 3 | 33µs | 2 | 72µs | # spent 40µs (9+32) within MARC::Charset::Constants::BEGIN@37 which was called:
# once (9µs+32µs) by MARC::Charset::Code::BEGIN@8 at line 37 # spent 40µs making 1 call to MARC::Charset::Constants::BEGIN@37
# spent 32µs making 1 call to constant::import |
38 | |||||
39 | 3 | 37µs | 2 | 74µs | # spent 42µs (9+32) within MARC::Charset::Constants::BEGIN@39 which was called:
# once (9µs+32µs) by MARC::Charset::Code::BEGIN@8 at line 39 # spent 42µs making 1 call to MARC::Charset::Constants::BEGIN@39
# spent 32µs making 1 call to constant::import |
40 | 3 | 33µs | 2 | 74µs | # spent 42µs (9+33) within MARC::Charset::Constants::BEGIN@40 which was called:
# once (9µs+33µs) by MARC::Charset::Code::BEGIN@8 at line 40 # spent 42µs making 1 call to MARC::Charset::Constants::BEGIN@40
# spent 33µs making 1 call to constant::import |
41 | 3 | 31µs | 2 | 73µs | # spent 40µs (8+32) within MARC::Charset::Constants::BEGIN@41 which was called:
# once (8µs+32µs) by MARC::Charset::Code::BEGIN@8 at line 41 # spent 40µs making 1 call to MARC::Charset::Constants::BEGIN@41
# spent 32µs making 1 call to constant::import |
42 | 3 | 56µs | 2 | 75µs | # spent 43µs (11+32) within MARC::Charset::Constants::BEGIN@42 which was called:
# once (11µs+32µs) by MARC::Charset::Code::BEGIN@8 at line 42 # spent 43µs making 1 call to MARC::Charset::Constants::BEGIN@42
# spent 32µs making 1 call to constant::import |
43 | 3 | 42µs | 2 | 144µs | # spent 79µs (14+65) within MARC::Charset::Constants::BEGIN@43 which was called:
# once (14µs+65µs) by MARC::Charset::Code::BEGIN@8 at line 43 # spent 79µs making 1 call to MARC::Charset::Constants::BEGIN@43
# spent 65µs making 1 call to constant::import |
44 | 3 | 38µs | 2 | 84µs | # spent 46µs (9+37) within MARC::Charset::Constants::BEGIN@44 which was called:
# once (9µs+37µs) by MARC::Charset::Code::BEGIN@8 at line 44 # spent 46µs making 1 call to MARC::Charset::Constants::BEGIN@44
# spent 37µs making 1 call to constant::import |
45 | 3 | 34µs | 2 | 78µs | # spent 44µs (9+34) within MARC::Charset::Constants::BEGIN@45 which was called:
# once (9µs+34µs) by MARC::Charset::Code::BEGIN@8 at line 45 # spent 44µs making 1 call to MARC::Charset::Constants::BEGIN@45
# spent 34µs making 1 call to constant::import |
46 | 3 | 33µs | 2 | 72µs | # spent 40µs (9+31) within MARC::Charset::Constants::BEGIN@46 which was called:
# once (9µs+31µs) by MARC::Charset::Code::BEGIN@8 at line 46 # spent 40µs making 1 call to MARC::Charset::Constants::BEGIN@46
# spent 31µs making 1 call to constant::import |
47 | 3 | 207µs | 2 | 74µs | # spent 42µs (9+33) within MARC::Charset::Constants::BEGIN@47 which was called:
# once (9µs+33µs) by MARC::Charset::Code::BEGIN@8 at line 47 # spent 42µs making 1 call to MARC::Charset::Constants::BEGIN@47
# spent 33µs making 1 call to constant::import |
48 | |||||
49 | 1 | 7µs | our %EXPORT_TAGS = ( all => [ qw( | ||
50 | ESCAPE GREEK_SYMBOLS SUBSCRIPTS SUPERSCRIPTS ASCII_DEFAULT | ||||
51 | SINGLE_G0_A SINGLE_G0_B MULTI_G0_A MULTI_G0_B SINGLE_G1_A | ||||
52 | SINGLE_G1_B MULTI_G1_A MULTI_G1_B BASIC_ARABIC | ||||
53 | EXTENDED_ARABIC BASIC_LATIN EXTENDED_LATIN CJK BASIC_CYRILLIC | ||||
54 | EXTENDED_CYRILLIC BASIC_GREEK BASIC_HEBREW) ]); | ||||
55 | |||||
56 | 1 | 4µs | our @EXPORT_OK = qw( | ||
57 | ESCAPE GREEK_SYMBOLS SUBSCRIPTS SUPERSCRIPTS ASCII_DEFAULT | ||||
58 | SINGLE_G0_A SINGLE_G0_B MULTI_G0_A MULTI_G0_B SINGLE_G1_A | ||||
59 | SINGLE_G1_B MULTI_G1_A MULTI_G1_B BASIC_ARABIC | ||||
60 | EXTENDED_ARABIC BASIC_LATIN EXTENDED_LATIN CJK BASIC_CYRILLIC | ||||
61 | EXTENDED_CYRILLIC BASIC_GREEK BASIC_HEBREW); | ||||
62 | |||||
63 | sub charset_name | ||||
64 | { | ||||
65 | my $charset = shift; | ||||
66 | return 'GREEK_SYMBOLS' if $charset eq GREEK_SYMBOLS; | ||||
67 | return 'SUBSCRIPTS' if $charset eq SUBSCRIPTS; | ||||
68 | return 'SUPERSCRIPTS' if $charset eq SUPERSCRIPTS; | ||||
69 | return 'ASCII_DEFAULT' if $charset eq ASCII_DEFAULT; | ||||
70 | return 'BASIC_ARABIC' if $charset eq BASIC_ARABIC; | ||||
71 | return 'EXTENDED_ARABIC' if $charset eq EXTENDED_ARABIC; | ||||
72 | return 'BASIC_LATIN' if $charset eq BASIC_LATIN; | ||||
73 | return 'EXTENDED_LATIN' if $charset eq EXTENDED_LATIN; | ||||
74 | return 'CJK' if $charset eq CJK; | ||||
75 | return 'BASIC_CYRILLIC' if $charset eq BASIC_CYRILLIC; | ||||
76 | return 'EXTENDED_CYRILLIC' if $charset eq EXTENDED_CYRILLIC; | ||||
77 | return 'BASIC_GREEK' if $charset eq BASIC_GREEK; | ||||
78 | return 'BASIC_HEBREW' if $charset eq BASIC_HEBREW; | ||||
79 | } | ||||
80 | |||||
81 | |||||
82 | 1 | 8µs | 1; |