mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-01 07:58:05 +03:00
Track nfills and nflushes for arenas.i.small / large.
Small is added purely for convenience. Large flushes wasn't tracked before and can be useful in analysis. Large fill simply reports nmalloc, since there is no batch fill for large currently.
This commit is contained in:
parent
13e88ae970
commit
07c44847c2
7 changed files with 139 additions and 15 deletions
|
|
@ -39,6 +39,8 @@ typedef struct ctl_arena_stats_s {
|
|||
uint64_t nmalloc_small;
|
||||
uint64_t ndalloc_small;
|
||||
uint64_t nrequests_small;
|
||||
uint64_t nfills_small;
|
||||
uint64_t nflushes_small;
|
||||
|
||||
bin_stats_t bstats[SC_NBINS];
|
||||
arena_stats_large_t lstats[SC_NSIZES - SC_NBINS];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue