mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-20 10:55:39 +03:00
Add stats for metadata_thp.
Report number of THPs used in arena and aggregated stats.
This commit is contained in:
parent
47b20bb654
commit
e55c3ca267
10 changed files with 125 additions and 21 deletions
|
|
@ -50,6 +50,8 @@ struct base_s {
|
|||
size_t allocated;
|
||||
size_t resident;
|
||||
size_t mapped;
|
||||
/* Number of THP regions touched. */
|
||||
size_t n_thp;
|
||||
};
|
||||
|
||||
#endif /* JEMALLOC_INTERNAL_BASE_STRUCTS_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue