diff options
author | antirez <antirez@metal.(none)> | 2010-09-02 10:34:39 +0200 |
---|---|---|
committer | antirez <antirez@metal.(none)> | 2010-09-02 10:34:39 +0200 |
commit | eddb388ef90258be406bdf1355f7c65bdd71bbe8 (patch) | |
tree | 32676eda1aa0cfdf7e25de2bc14746be1b1a246d /src/zmalloc.h | |
parent | a047bf52a4fed963a434c6e7e7376880cf17abcf (diff) | |
download | redis-eddb388ef90258be406bdf1355f7c65bdd71bbe8.tar.gz |
memory fragmentation ratio in INFO output
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 db858bba0..281aa3a8b 100644 --- a/src/zmalloc.h +++ b/src/zmalloc.h @@ -38,5 +38,6 @@ void zfree(void *ptr); char *zstrdup(const char *s); size_t zmalloc_used_memory(void); void zmalloc_enable_thread_safeness(void); +float zmalloc_get_fragmentation_ratio(void); #endif /* _ZMALLOC_H */ |