Copy as Markdown
Other Tools
/* This file is auto-generated, see gen_histogram_phf.py. */
#ifndef mozilla_TelemetryHistogramNameMap_h
#define mozilla_TelemetryHistogramNameMap_h
#include "mozilla/PerfectHash.h"
namespace mozilla {
namespace Telemetry {
const uint32_t sHistogramIDByNameLookupEntries[] = {
743,
1091,
19,
666,
52,
70,
217,
65,
1162,
566,
209,
756,
147,
14,
463,
229,
1152,
1058,
507,
966,
551,
852,
288,
788,
499,
780,
11,
870,
812,
0,
799,
976,
672,
825,
418,
896,
1142,
1000,
61,
1050,
616,
506,
933,
289,
384,
1068,
480,
1064,
421,
273,
56,
1181,
536,
693,
155,
838,
678,
1067,
254,
934,
318,
1020,
612,
757,
259,
1127,
871,
599,
712,
346,
624,
443,
1080,
716,
1052,
908,
782,
46,
890,
911,
877,
554,
1039,
206,
188,
1036,
370,
369,
985,
582,
378,
1192,
992,
185,
1037,
904,
1021,
530,
93,
24,
974,
558,
256,
587,
348,
1046,
381,
906,
31,
867,
100,
85,
281,
1060,
614,
977,
762,
305,
736,
559,
542,
278,
913,
104,
544,
987,
760,
640,
310,
192,
1203,
239,
57,
625,
953,
401,
3,
92,
164,
408,
287,
947,
501,
232,
1104,
849,
295,
814,
715,
1009,
338,
1166,
808,
332,
145,
845,
899,
448,
220,
1035,
1178,
537,
484,
555,
228,
243,
989,
253,
772,
1066,
465,
679,
1100,
1,
840,
411,
1207,
597,
862,
807,
930,
887,
661,
964,
34,
356,
412,
442,
349,
325,
449,
55,
80,
195,
510,
1161,
1106,
1150,
792,
171,
1171,
1071,
1195,
32,
108,
944,
451,
306,
609,
395,
590,
990,
699,
366,
385,
689,
529,
912,
497,
753,
1001,
710,
932,
367,
878,
436,
439,
1101,
1054,
464,
493,
774,
656,
133,
604,
168,
922,
875,
949,
945,
646,
317,
417,
1063,
711,
970,
300,
377,
255,
680,
994,
1176,
1018,
960,
874,
662,
438,
102,
260,
973,
144,
1128,
946,
347,
430,
790,
750,
980,
1032,
212,
663,
971,
422,
565,
563,
455,
277,
1124,
667,
115,
607,
210,
508,
250,
400,
1092,
1097,
302,
1056,
805,
1115,
598,
45,
645,
268,
859,
327,
291,
303,
738,
1078,
1169,
111,
938,
379,
919,
1109,
48,
1191,
619,
642,
968,
270,
613,
352,
146,
730,
428,
979,
207,
525,
844,
967,
981,
382,
608,
485,
262,
550,
847,
1202,
698,
49,
659,
106,
728,
709,
889,
489,
618,
674,
1163,
1061,
1132,
1088,
931,
1004,
1049,
476,
697,
456,
720,
427,
1204,
1027,
669,
344,
916,
74,
893,
925,
167,
20,
1153,
1198,
187,
819,
193,
1206,
1135,
917,
1139,
406,
724,
1090,
461,
734,
956,
389,
1015,
695,
532,
82,
988,
301,
505,
12,
500,
869,
1167,
59,
17,
676,
196,
453,
425,
198,
283,
733,
242,
1185,
397,
778,
1121,
307,
829,
823,
1051,
42,
509,
626,
1189,
5,
1119,
1007,
403,
1173,
495,
638,
1076,
1085,
83,
290,
324,
416,
593,
864,
655,
592,
843,
635,
13,
371,
60,
972,
175,
26,
354,
459,
360,
1094,
770,
768,
467,
274,
794,
744,
1075,
37,
224,
769,
643,
126,
564,
665,
363,
850,
726,
687,
1141,
252,
420,
820,
413,
562,
89,
77,
101,
816,
719,
773,
230,
1072,
1180,
95,
543,
658,
161,
364,
802,
234,
174,
958,
374,
333,
540,
1199,
1131,
601,
905,
156,
1184,
535,
447,
630,
1183,
777,
1200,
632,
798,
79,
246,
824,
677,
556,
688,
490,
1048,
1205,
75,
1077,
399,
745,
402,
1024,
296,
721,
1043,
141,
1033,
628,
538,
553,
586,
806,
339,
211,
939,
216,
766,
725,
272,
810,
181,
691,
84,
787,
907,
1002,
1164,
222,
547,
462,
957,
136,
920,
962,
475,
873,
51,
702,
458,
763,
124,
165,
130,
162,
328,
950,
227,
357,
316,
440,
78,
1116,
615,
910,
1031,
636,
1138,
803,
326,
293,
851,
926,
1069,
392,
483,
186,
380,
868,
308,
36,
528,
479,
359,
522,
280,
855,
1156,
201,
557,
860,
1089,
885,
98,
690,
1008,
752,
1016,
942,
9,
176,
888,
275,
237,
884,
784,
1114,
686,
546,
729,
918,
617,
350,
831,
139,
579,
1157,
627,
1102,
1055,
398,
1098,
739,
909,
468,
271,
741,
404,
249,
43,
815,
576,
629,
621,
376,
1155,
394,
735,
241,
375,
929,
299,
94,
135,
334,
504,
47,
189,
832,
105,
498,
202,
1040,
583,
128,
681,
727,
861,
894,
313,
437,
122,
578,
998,
835,
223,
924,
446,
4,
748,
1017,
1074,
251,
1193,
602,
329,
572,
737,
1188,
353,
516,
1117,
1123,
839,
880,
1147,
1168,
995,
1174,
999,
107,
383,
169,
751,
152,
1151,
491,
454,
789,
362,
62,
771,
444,
603,
670,
393,
1125,
1194,
1025,
927,
882,
955,
1175,
103,
915,
620,
97,
320,
432,
1081,
692,
1010,
1011,
321,
441,
331,
1103,
848,
1022,
7,
914,
151,
184,
512,
415,
1026,
622,
1013,
38,
315,
309,
517,
414,
473,
714,
821,
1042,
1133,
1177,
113,
935,
180,
221,
131,
1159,
64,
445,
236,
818,
811,
675,
1034,
817,
1005,
311,
214,
1059,
91,
199,
903,
457,
581,
746,
190,
951,
605,
705,
759,
700,
269,
809,
120,
197,
125,
173,
891,
561,
742,
954,
685,
866,
28,
298,
213,
1112,
340,
952,
355,
569,
342,
153,
1087,
30,
118,
409,
247,
767,
570,
657,
836,
526,
434,
69,
1029,
496,
426,
351,
1044,
204,
1107,
21,
653,
396,
683,
39,
574,
1140,
358,
1197,
606,
71,
591,
842,
660,
639,
531,
244,
991,
172,
134,
284,
552,
1137,
795,
732,
897,
1079,
722,
682,
1086,
503,
513,
96,
804,
123,
478,
387,
1045,
708,
18,
150,
72,
830,
943,
361,
775,
23,
827,
372,
1095,
285,
664,
585,
488,
263,
90,
486,
837,
671,
707,
978,
474,
431,
696,
961,
519,
571,
119,
154,
460,
779,
423,
1006,
610,
647,
322,
1082,
901,
764,
539,
898,
596,
158,
63,
471,
936,
800,
266,
337,
114,
35,
713,
265,
684,
304,
1073,
1110,
159,
872,
1070,
758,
335,
452,
1014,
22,
1099,
419,
651,
881,
1122,
634,
515,
1113,
76,
179,
110,
373,
292,
941,
623,
1041,
182,
225,
117,
282,
29,
749,
865,
648,
140,
975,
226,
16,
518,
1105,
1154,
149,
405,
1146,
1186,
826,
520,
1182,
219,
650,
1057,
589,
892,
857,
121,
786,
132,
969,
965,
1179,
53,
1170,
323,
883,
2,
833,
240,
541,
177,
718,
1012,
68,
248,
1062,
704,
142,
116,
261,
641,
466,
166,
10,
963,
487,
40,
876,
1028,
527,
575,
343,
793,
948,
258,
545,
600,
652,
1172,
494,
54,
1084,
797,
341,
109,
785,
533,
472,
902,
1053,
86,
27,
112,
66,
1083,
200,
330,
138,
345,
1149,
1201,
959,
886,
482,
137,
611,
450,
1003,
336,
276,
853,
560,
286,
160,
294,
365,
502,
673,
183,
319,
694,
129,
841,
854,
701,
388,
391,
1111,
703,
157,
279,
668,
148,
267,
1148,
407,
205,
215,
314,
813,
723,
208,
996,
524,
846,
33,
1165,
584,
534,
1190,
1065,
1145,
1030,
834,
514,
6,
15,
928,
1120,
1023,
997,
1038,
410,
235,
1158,
264,
937,
776,
44,
178,
170,
822,
654,
754,
761,
577,
644,
521,
923,
312,
390,
791,
1096,
218,
740,
649,
191,
637,
801,
717,
568,
1136,
1144,
631,
67,
470,
765,
8,
88,
588,
548,
921,
238,
747,
233,
435,
429,
424,
41,
1134,
1118,
984,
1126,
755,
706,
1019,
900,
99,
781,
993,
580,
194,
828,
127,
858,
297,
511,
25,
1129,
163,
633,
477,
203,
1187,
731,
1047,
595,
87,
1093,
856,
231,
73,
469,
257,
1130,
143,
58,
50,
481,
863,
986,
940,
796,
567,
433,
573,
523,
1196,
983,
1143,
81,
895,
594,
982,
549,
245,
879,
386,
492,
783,
1160,
1108,
368
};
const uint32_t&
HistogramIDByNameLookup(const nsACString& aKey)
{
static const uint16_t BASES[] = {
2, 2, 0, 2, 2, 2, 0, 2, 6, 1, 0, 1, 1, 0, 1, 6,
2, 3, 2, 6, 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 7,
1, 1, 0, 14, 3, 0, 0, 1, 0, 0, 2, 9, 11, 0, 6, 2,
16, 13, 11, 7, 0, 1, 4, 1, 17, 1, 24, 0, 0, 43, 3, 0,
0, 6, 10, 18, 9, 3, 2, 21, 8, 0, 0, 23, 6, 5, 0, 2,
17, 15, 2, 0, 2, 3, 0, 4, 3, 0, 2, 35, 15, 16, 38, 3,
9, 4, 0, 0, 2, 4, 4, 0, 0, 0, 0, 0, 2, 0, 1, 7,
0, 1, 0, 2, 1, 0, 12, 5, 3, 0, 9, 0, 1, 0, 3, 24,
0, 0, 0, 0, 0, 2, 50, 1, 9, 3, 0, 0, 0, 1, 2, 0,
0, 0, 2, 16, 1, 4, 14, 1, 1, 0, 0, 8, 39, 0, 0, 13,
0, 0, 0, 7, 13, 7, 0, 1, 0, 0, 0, 10, 0, 31, 2, 0,
2, 27, 0, 0, 16, 32, 6, 2, 33, 0, 7, 24, 1, 0, 0, 22,
0, 1, 12, 5, 1, 2, 26, 19, 0, 24, 1, 0, 8, 5, 0, 2,
3, 0, 0, 0, 10, 44, 1, 5, 1, 0, 10, 4, 10, 4, 4, 0,
0, 0, 0, 0, 8, 15, 18, 4, 0, 40, 0, 12, 0, 0, 0, 1,
9, 9, 25, 32, 2, 1, 0, 0, 17, 3, 0, 79, 19, 1, 24, 11,
1, 7, 102, 0, 6, 48, 12, 20, 10, 4, 0, 10, 0, 21, 0, 37,
30, 0, 0, 40, 53, 0, 7, 0, 13, 0, 0, 6, 0, 44, 21, 0,
17, 1, 25, 0, 3, 4, 36, 65, 22, 1, 1, 5, 0, 1, 8, 12,
0, 0, 2, 87, 58, 5, 4, 18, 157, 0, 0, 0, 1, 24, 45, 10,
7, 14, 13, 15, 29, 1, 193, 11, 0, 24, 11, 478, 441, 137, 22, 4,
111, 8, 65, 0, 0, 173, 14, 374, 443, 0, 142, 0, 0, 727, 0,2757,
};
const char* bytes = aKey.BeginReading();
size_t length = aKey.Length();
auto& entry = mozilla::perfecthash::Lookup(bytes, length, BASES,
sHistogramIDByNameLookupEntries);
return entry;
}
} // namespace mozilla
} // namespace Telemetry
#endif // mozilla_TelemetryHistogramNameMap_h