mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-19 11:26:26 +03:00
added stats
This commit is contained in:
parent
c0e2a93e4d
commit
52e72a04a1
5 changed files with 109 additions and 3 deletions
|
|
@ -51,6 +51,20 @@ struct hpa_shard_nonderived_stats_s {
|
|||
* Guarded by mtx.
|
||||
*/
|
||||
uint64_t ndehugifies;
|
||||
|
||||
/*
|
||||
* Distribution of max nallocs from hpa_alloc() calls.
|
||||
*
|
||||
* Guarded by mtx.
|
||||
*/
|
||||
uint64_t alloc_batch_max_nallocs[MAX_SEC_NALLOCS + 1];
|
||||
|
||||
/*
|
||||
* Distribution of successful nallocs from hpa_alloc() calls.
|
||||
*
|
||||
* Guarded by mtx.
|
||||
*/
|
||||
uint64_t alloc_batch_nallocs[MAX_SEC_NALLOCS + 1];
|
||||
};
|
||||
|
||||
/* Completely derived; only used by CTL. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue