diff options
author | Jason Evans <jasone@canonware.com> | 2017-02-13 17:44:46 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2017-02-16 17:39:46 (GMT) |
commit | d433471f581ca50583c7a99f9802f7388f81aa36 (patch) | |
tree | 3556924f1c240f7cb6880588c278b251883598c8 /include/jemalloc | |
parent | ab25d3c987ddb32846760cc08af8db22a6389c02 (diff) | |
download | jemalloc-d433471f581ca50583c7a99f9802f7388f81aa36.zip jemalloc-d433471f581ca50583c7a99f9802f7388f81aa36.tar.gz jemalloc-d433471f581ca50583c7a99f9802f7388f81aa36.tar.bz2 |
Derive {allocated,nmalloc,ndalloc,nrequests}_large stats.
This mildly reduces stats update overhead during normal operation.
Diffstat (limited to 'include/jemalloc')
-rw-r--r-- | include/jemalloc/internal/stats_structs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/jemalloc/internal/stats_structs.h b/include/jemalloc/internal/stats_structs.h index 4f5984a..1571ef4 100644 --- a/include/jemalloc/internal/stats_structs.h +++ b/include/jemalloc/internal/stats_structs.h @@ -104,10 +104,10 @@ struct arena_stats_s { size_t internal; size_t resident; /* Derived. */ - size_t allocated_large; - uint64_t nmalloc_large; - uint64_t ndalloc_large; - uint64_t nrequests_large; + size_t allocated_large; /* Derived. */ + uint64_t nmalloc_large; /* Derived. */ + uint64_t ndalloc_large; /* Derived. */ + uint64_t nrequests_large; /* Derived. */ /* Number of bytes cached in tcache associated with this arena. */ size_t tcache_bytes; /* Derived. */ |