1 #ifndef JEMALLOC_INTERNAL_BIN_STATS_H
2 #define JEMALLOC_INTERNAL_BIN_STATS_H
4 #include "jemalloc/internal/mutex_prof.h"
6 typedef struct bin_stats_s bin_stats_t;
9 * Total number of allocation/deallocation requests served directly by
10 * the bin. Note that tcache may allocate an object, then recycle it
11 * many times, resulting many increments to nrequests, but only one
12 * each to nmalloc and ndalloc.
18 * Number of allocation requests that correspond to the size of this
19 * bin. This includes requests served by tcache, though tcache only
20 * periodically merges into this counter.
25 * Current number of regions of this size class, including regions
26 * currently cached by tcache.
30 /* Number of tcache fills from this bin. */
33 /* Number of tcache flushes to this bin. */
36 /* Total number of slabs created for this bin's size class. */
40 * Total number of slabs reused by extracting them from the slabs heap
41 * for this bin's size class.
45 /* Current number of slabs in this bin. */
48 mutex_prof_data_t mutex_data;
51 #endif /* JEMALLOC_INTERNAL_BIN_STATS_H */