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