mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 22:51:50 +03:00
PA: Add a stats comment.
This commit is contained in:
parent
ce8c0d6c09
commit
6ca918d0cf
1 changed files with 11 additions and 0 deletions
|
|
@ -10,6 +10,17 @@
|
|||
* allocations.
|
||||
*/
|
||||
|
||||
/*
|
||||
* The stats for a particular pa_shard. Because of the way the ctl module
|
||||
* handles stats epoch data collection (it has its own arena_stats, and merges
|
||||
* the stats from each arena into it), this needs to live in the arena_stats_t;
|
||||
* hence we define it here and let the pa_shard have a pointer (rather than the
|
||||
* more natural approach of just embedding it in the pa_shard itself).
|
||||
*
|
||||
* We follow the arena_stats_t approach of marking the derived fields. These
|
||||
* are the ones that are not maintained on their own; instead, their values are
|
||||
* derived during those stats merges.
|
||||
*/
|
||||
typedef struct pa_shard_decay_stats_s pa_shard_decay_stats_t;
|
||||
struct pa_shard_decay_stats_s {
|
||||
/* Total number of purge sweeps. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue