diff options
author | Qi Wang <interwq@gwu.edu> | 2017-08-25 13:24:49 -0700 |
---|---|---|
committer | Qi Wang <interwq@gmail.com> | 2017-08-30 16:47:32 -0700 |
commit | e55c3ca26758bcb7f6f1621fd690caa245f16942 (patch) | |
tree | c6417b9418237c31395eb814a88f52d0ce7a478c /include/jemalloc/internal/base_structs.h | |
parent | 47b20bb6544de9cdd4ca7ab870d6ad257c0ce4ff (diff) |
Add stats for metadata_thp.
Report number of THPs used in arena and aggregated stats.
Diffstat (limited to 'include/jemalloc/internal/base_structs.h')
-rw-r--r-- | include/jemalloc/internal/base_structs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/jemalloc/internal/base_structs.h b/include/jemalloc/internal/base_structs.h index 18e227bd..b5421693 100644 --- a/include/jemalloc/internal/base_structs.h +++ b/include/jemalloc/internal/base_structs.h @@ -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 */ |