mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-01 01:28:00 +03:00
Added stats about number of bytes cached in tcache currently.
This commit is contained in:
parent
12ab4383e9
commit
58424e679d
4 changed files with 40 additions and 0 deletions
|
|
@ -100,6 +100,9 @@ struct arena_stats_s {
|
|||
uint64_t ndalloc_large;
|
||||
uint64_t nrequests_large;
|
||||
|
||||
/* Number of bytes cached in tcache associated with this arena. */
|
||||
size_t tcache_bytes;
|
||||
|
||||
/* One element for each large size class. */
|
||||
malloc_large_stats_t lstats[NSIZES - NBINS];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue