aboutsummaryrefslogtreecommitdiff
path: root/gcc/mem-stats-traits.h
blob: de1614e49d63bff7fa62b592f38da04ad3b6200d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef GCC_MEM_STATS_TRAITS_H
#define GCC_MEM_STATS_TRAITS_H

/* Memory allocation origin.  */
enum mem_alloc_origin
{
  HASH_TABLE,
  HASH_MAP,
  HASH_SET,
  VEC,
  BITMAP,
  GGC,
  MEM_ALLOC_ORIGIN_LENGTH
};

/* Verbose names of the memory allocation origin.  */
static const char * mem_alloc_origin_names[] = { "Hash tables", "Hash maps",
  "Hash sets", "Heap vectors", "Bitmaps", "GGC memory" };

#endif // GCC_MEM_STATS_TRAITS_H