diff options
| author | David Lamparter <equinox@diac24.net> | 2018-08-30 16:44:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-30 16:44:47 +0200 |
| commit | 66a9aa8b8860d8c79d8b395eb22ccddcdebf69e6 (patch) | |
| tree | 87acadf7aab4ff94d153bdb9b47cd807f733442b /lib/memory.h | |
| parent | f177317a20ff417c2dc9d719f2e1135d81ff96f8 (diff) | |
| parent | 7a153339b2ea6b9cdef3f9ce2113e27f417c6fab (diff) | |
Merge pull request #2859 from LabNConsulting/working/master/meminfo
lib: qmem show changes (header and max)
Diffstat (limited to 'lib/memory.h')
| -rw-r--r-- | lib/memory.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/memory.h b/lib/memory.h index c39f34e3a7..2d6c144778 100644 --- a/lib/memory.h +++ b/lib/memory.h @@ -34,9 +34,11 @@ struct memtype { struct memtype *next, **ref; const char *name; _Atomic size_t n_alloc; + _Atomic size_t n_max; _Atomic size_t size; #ifdef HAVE_MALLOC_USABLE_SIZE _Atomic size_t total; + _Atomic size_t max_size; #endif }; |
