| Filename | /usr/share/perl5/MARC/Charset/Constants.pm |
| Statements | Executed 78 statements in 1.39ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 28µs | 102µs | MARC::Charset::Constants::BEGIN@41 |
| 1 | 1 | 1 | 28µs | 90µs | MARC::Charset::Constants::BEGIN@32 |
| 1 | 1 | 1 | 24µs | 29µs | MARC::Charset::Constants::BEGIN@18 |
| 1 | 1 | 1 | 20µs | 84µs | MARC::Charset::Constants::BEGIN@35 |
| 1 | 1 | 1 | 19µs | 103µs | MARC::Charset::Constants::BEGIN@22 |
| 1 | 1 | 1 | 19µs | 80µs | MARC::Charset::Constants::BEGIN@45 |
| 1 | 1 | 1 | 16µs | 82µs | MARC::Charset::Constants::BEGIN@25 |
| 1 | 1 | 1 | 16µs | 41µs | MARC::Charset::Constants::BEGIN@19 |
| 1 | 1 | 1 | 16µs | 83µs | MARC::Charset::Constants::BEGIN@44 |
| 1 | 1 | 1 | 15µs | 78µs | MARC::Charset::Constants::BEGIN@30 |
| 1 | 1 | 1 | 15µs | 78µs | MARC::Charset::Constants::BEGIN@31 |
| 1 | 1 | 1 | 15µs | 80µs | MARC::Charset::Constants::BEGIN@29 |
| 1 | 1 | 1 | 15µs | 80µs | MARC::Charset::Constants::BEGIN@37 |
| 1 | 1 | 1 | 15µs | 80µs | MARC::Charset::Constants::BEGIN@46 |
| 1 | 1 | 1 | 15µs | 82µs | MARC::Charset::Constants::BEGIN@34 |
| 1 | 1 | 1 | 15µs | 76µs | MARC::Charset::Constants::BEGIN@47 |
| 1 | 1 | 1 | 14µs | 77µs | MARC::Charset::Constants::BEGIN@27 |
| 1 | 1 | 1 | 14µs | 77µs | MARC::Charset::Constants::BEGIN@39 |
| 1 | 1 | 1 | 14µs | 78µs | MARC::Charset::Constants::BEGIN@42 |
| 1 | 1 | 1 | 13µs | 76µs | MARC::Charset::Constants::BEGIN@43 |
| 1 | 1 | 1 | 13µs | 104µs | MARC::Charset::Constants::BEGIN@20 |
| 1 | 1 | 1 | 13µs | 78µs | MARC::Charset::Constants::BEGIN@40 |
| 1 | 1 | 1 | 13µs | 79µs | MARC::Charset::Constants::BEGIN@36 |
| 1 | 1 | 1 | 12µs | 90µs | MARC::Charset::Constants::BEGIN@26 |
| 1 | 1 | 1 | 12µs | 73µs | MARC::Charset::Constants::BEGIN@24 |
| 0 | 0 | 0 | 0s | 0s | MARC::Charset::Constants::charset_name |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package MARC::Charset::Constants; | ||||
| 2 | |||||
| 3 | =head1 NAME | ||||
| 4 | |||||
| - - | |||||
| 18 | 3 | 40µs | 2 | 34µs | # spent 29µs (24+5) within MARC::Charset::Constants::BEGIN@18 which was called:
# once (24µs+5µs) by MARC::Charset::Code::BEGIN@8 at line 18 # spent 29µs making 1 call to MARC::Charset::Constants::BEGIN@18
# spent 5µs making 1 call to strict::import |
| 19 | 3 | 43µs | 2 | 66µs | # spent 41µs (16+25) within MARC::Charset::Constants::BEGIN@19 which was called:
# once (16µs+25µs) by MARC::Charset::Code::BEGIN@8 at line 19 # spent 41µs making 1 call to MARC::Charset::Constants::BEGIN@19
# spent 25µs making 1 call to warnings::import |
| 20 | 3 | 47µs | 2 | 195µs | # spent 104µs (13+91) within MARC::Charset::Constants::BEGIN@20 which was called:
# once (13µs+91µs) by MARC::Charset::Code::BEGIN@8 at line 20 # spent 104µs making 1 call to MARC::Charset::Constants::BEGIN@20
# spent 91µs making 1 call to base::import |
| 21 | |||||
| 22 | 3 | 50µs | 2 | 187µs | # spent 103µs (19+84) within MARC::Charset::Constants::BEGIN@22 which was called:
# once (19µs+84µs) by MARC::Charset::Code::BEGIN@8 at line 22 # spent 103µs making 1 call to MARC::Charset::Constants::BEGIN@22
# spent 84µs making 1 call to constant::import |
| 23 | |||||
| 24 | 3 | 51µs | 2 | 134µs | # spent 73µs (12+61) within MARC::Charset::Constants::BEGIN@24 which was called:
# once (12µs+61µs) by MARC::Charset::Code::BEGIN@8 at line 24 # spent 73µs making 1 call to MARC::Charset::Constants::BEGIN@24
# spent 61µs making 1 call to constant::import |
| 25 | 3 | 46µs | 2 | 148µs | # spent 82µs (16+66) within MARC::Charset::Constants::BEGIN@25 which was called:
# once (16µs+66µs) by MARC::Charset::Code::BEGIN@8 at line 25 # spent 82µs making 1 call to MARC::Charset::Constants::BEGIN@25
# spent 66µs making 1 call to constant::import |
| 26 | 3 | 47µs | 2 | 168µs | # spent 90µs (12+78) within MARC::Charset::Constants::BEGIN@26 which was called:
# once (12µs+78µs) by MARC::Charset::Code::BEGIN@8 at line 26 # spent 90µs making 1 call to MARC::Charset::Constants::BEGIN@26
# spent 78µs making 1 call to constant::import |
| 27 | 3 | 45µs | 2 | 140µs | # spent 77µs (14+63) within MARC::Charset::Constants::BEGIN@27 which was called:
# once (14µs+63µs) by MARC::Charset::Code::BEGIN@8 at line 27 # spent 77µs making 1 call to MARC::Charset::Constants::BEGIN@27
# spent 63µs making 1 call to constant::import |
| 28 | |||||
| 29 | 3 | 44µs | 2 | 145µs | # spent 80µs (15+65) within MARC::Charset::Constants::BEGIN@29 which was called:
# once (15µs+65µs) by MARC::Charset::Code::BEGIN@8 at line 29 # spent 80µs making 1 call to MARC::Charset::Constants::BEGIN@29
# spent 65µs making 1 call to constant::import |
| 30 | 3 | 56µs | 2 | 141µs | # spent 78µs (15+63) within MARC::Charset::Constants::BEGIN@30 which was called:
# once (15µs+63µs) by MARC::Charset::Code::BEGIN@8 at line 30 # spent 78µs making 1 call to MARC::Charset::Constants::BEGIN@30
# spent 63µs making 1 call to constant::import |
| 31 | 3 | 48µs | 2 | 141µs | # spent 78µs (15+63) within MARC::Charset::Constants::BEGIN@31 which was called:
# once (15µs+63µs) by MARC::Charset::Code::BEGIN@8 at line 31 # spent 78µs making 1 call to MARC::Charset::Constants::BEGIN@31
# spent 63µs making 1 call to constant::import |
| 32 | 3 | 46µs | 2 | 152µs | # spent 90µs (28+62) within MARC::Charset::Constants::BEGIN@32 which was called:
# once (28µs+62µs) by MARC::Charset::Code::BEGIN@8 at line 32 # spent 90µs making 1 call to MARC::Charset::Constants::BEGIN@32
# spent 62µs making 1 call to constant::import |
| 33 | |||||
| 34 | 3 | 46µs | 2 | 149µs | # spent 82µs (15+67) within MARC::Charset::Constants::BEGIN@34 which was called:
# once (15µs+67µs) by MARC::Charset::Code::BEGIN@8 at line 34 # spent 82µs making 1 call to MARC::Charset::Constants::BEGIN@34
# spent 67µs making 1 call to constant::import |
| 35 | 3 | 50µs | 2 | 148µs | # spent 84µs (20+64) within MARC::Charset::Constants::BEGIN@35 which was called:
# once (20µs+64µs) by MARC::Charset::Code::BEGIN@8 at line 35 # spent 84µs making 1 call to MARC::Charset::Constants::BEGIN@35
# spent 64µs making 1 call to constant::import |
| 36 | 3 | 43µs | 2 | 145µs | # spent 79µs (13+66) within MARC::Charset::Constants::BEGIN@36 which was called:
# once (13µs+66µs) by MARC::Charset::Code::BEGIN@8 at line 36 # spent 79µs making 1 call to MARC::Charset::Constants::BEGIN@36
# spent 66µs making 1 call to constant::import |
| 37 | 3 | 46µs | 2 | 145µs | # spent 80µs (15+65) within MARC::Charset::Constants::BEGIN@37 which was called:
# once (15µs+65µs) by MARC::Charset::Code::BEGIN@8 at line 37 # spent 80µs making 1 call to MARC::Charset::Constants::BEGIN@37
# spent 65µs making 1 call to constant::import |
| 38 | |||||
| 39 | 3 | 45µs | 2 | 140µs | # spent 77µs (14+63) within MARC::Charset::Constants::BEGIN@39 which was called:
# once (14µs+63µs) by MARC::Charset::Code::BEGIN@8 at line 39 # spent 77µs making 1 call to MARC::Charset::Constants::BEGIN@39
# spent 63µs making 1 call to constant::import |
| 40 | 3 | 52µs | 2 | 143µs | # spent 78µs (13+65) within MARC::Charset::Constants::BEGIN@40 which was called:
# once (13µs+65µs) by MARC::Charset::Code::BEGIN@8 at line 40 # spent 78µs making 1 call to MARC::Charset::Constants::BEGIN@40
# spent 65µs making 1 call to constant::import |
| 41 | 3 | 46µs | 2 | 176µs | # spent 102µs (28+74) within MARC::Charset::Constants::BEGIN@41 which was called:
# once (28µs+74µs) by MARC::Charset::Code::BEGIN@8 at line 41 # spent 102µs making 1 call to MARC::Charset::Constants::BEGIN@41
# spent 74µs making 1 call to constant::import |
| 42 | 3 | 43µs | 2 | 142µs | # spent 78µs (14+64) within MARC::Charset::Constants::BEGIN@42 which was called:
# once (14µs+64µs) by MARC::Charset::Code::BEGIN@8 at line 42 # spent 78µs making 1 call to MARC::Charset::Constants::BEGIN@42
# spent 64µs making 1 call to constant::import |
| 43 | 3 | 44µs | 2 | 139µs | # spent 76µs (13+63) within MARC::Charset::Constants::BEGIN@43 which was called:
# once (13µs+63µs) by MARC::Charset::Code::BEGIN@8 at line 43 # spent 76µs making 1 call to MARC::Charset::Constants::BEGIN@43
# spent 63µs making 1 call to constant::import |
| 44 | 3 | 45µs | 2 | 150µs | # spent 83µs (16+67) within MARC::Charset::Constants::BEGIN@44 which was called:
# once (16µs+67µs) by MARC::Charset::Code::BEGIN@8 at line 44 # spent 83µs making 1 call to MARC::Charset::Constants::BEGIN@44
# spent 67µs making 1 call to constant::import |
| 45 | 3 | 44µs | 2 | 141µs | # spent 80µs (19+61) within MARC::Charset::Constants::BEGIN@45 which was called:
# once (19µs+61µs) by MARC::Charset::Code::BEGIN@8 at line 45 # spent 80µs making 1 call to MARC::Charset::Constants::BEGIN@45
# spent 61µs making 1 call to constant::import |
| 46 | 3 | 45µs | 2 | 145µs | # spent 80µs (15+65) within MARC::Charset::Constants::BEGIN@46 which was called:
# once (15µs+65µs) by MARC::Charset::Code::BEGIN@8 at line 46 # spent 80µs making 1 call to MARC::Charset::Constants::BEGIN@46
# spent 65µs making 1 call to constant::import |
| 47 | 3 | 251µs | 2 | 137µs | # spent 76µs (15+61) within MARC::Charset::Constants::BEGIN@47 which was called:
# once (15µs+61µs) by MARC::Charset::Code::BEGIN@8 at line 47 # spent 76µs making 1 call to MARC::Charset::Constants::BEGIN@47
# spent 61µs making 1 call to constant::import |
| 48 | |||||
| 49 | 1 | 8µ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 | 6µ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 | 12µs | 1; |