PR tree-optimization/66718
[official-gcc.git] / gcc / mem-stats-traits.h
blob5d270474fc4775cff9f74f88ed6197fb06cd8c9b
1 #ifndef GCC_MEM_STATS_TRAITS_H
2 #define GCC_MEM_STATS_TRAITS_H
4 /* Memory allocation origin. */
5 enum mem_alloc_origin
7 HASH_TABLE_ORIGIN,
8 HASH_MAP_ORIGIN,
9 HASH_SET_ORIGIN,
10 VEC_ORIGIN,
11 BITMAP_ORIGIN,
12 GGC_ORIGIN,
13 ALLOC_POOL_ORIGIN,
14 MEM_ALLOC_ORIGIN_LENGTH
17 /* Verbose names of the memory allocation origin. */
18 static const char * mem_alloc_origin_names[] = { "Hash tables", "Hash maps",
19 "Hash sets", "Heap vectors", "Bitmaps", "GGC memory", "Allocation pool" };
21 #endif // GCC_MEM_STATS_TRAITS_H