diff options
author | antirez <antirez@gmail.com> | 2010-11-02 10:51:09 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2010-11-02 10:51:09 +0100 |
commit | 92e282288f8f7bf51bccd0f6ef6964f32fa37f24 (patch) | |
tree | 3e12525563765ac534fbb0c5a585bfbe81476ac0 /src/zmalloc.h | |
parent | 21dbc6499a538af07f52a41742cf1683f3fc9c23 (diff) | |
download | redis-92e282288f8f7bf51bccd0f6ef6964f32fa37f24.tar.gz |
zmalloc functions to get RSS and fragmentation refactored into two separated functions
Diffstat (limited to 'src/zmalloc.h')
-rw-r--r-- | src/zmalloc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zmalloc.h b/src/zmalloc.h index 281aa3a8b..bb6f629af 100644 --- a/src/zmalloc.h +++ b/src/zmalloc.h @@ -39,5 +39,6 @@ char *zstrdup(const char *s); size_t zmalloc_used_memory(void); void zmalloc_enable_thread_safeness(void); float zmalloc_get_fragmentation_ratio(void); +size_t zmalloc_get_rss(void); #endif /* _ZMALLOC_H */ |