2 #ifdef JEMALLOC_H_TYPES
4 typedef struct tcache_bin_stats_s tcache_bin_stats_t;
5 typedef struct malloc_bin_stats_s malloc_bin_stats_t;
6 typedef struct malloc_large_stats_s malloc_large_stats_t;
7 typedef struct malloc_huge_stats_s malloc_huge_stats_t;
8 typedef struct arena_stats_s arena_stats_t;
9 typedef struct chunk_stats_s chunk_stats_t;
13 #ifdef JEMALLOC_H_STRUCTS
15 struct tcache_bin_stats_s {
23 struct malloc_bin_stats_s {
65 struct malloc_large_stats_s {
89 struct malloc_huge_stats_s {
101 struct arena_stats_s {
126 size_t metadata_mapped;
127 size_t metadata_allocated;
130 size_t allocated_large;
135 size_t allocated_huge;
140 malloc_large_stats_t *lstats;
143 malloc_huge_stats_t *hstats;
148 #ifdef JEMALLOC_H_EXTERNS
159 #ifdef JEMALLOC_H_INLINES
161 #ifndef JEMALLOC_ENABLE_INLINE
167 #if (defined(JEMALLOC_ENABLE_INLINE) || defined(JEMALLOC_STATS_C_))
assert(limit<=UINT32_MAX/2)
#define stats_cactive_get
#define stats_cactive_add
#define stats_cactive_sub