memory fragmentation ratio in INFO output

This commit is contained in:
antirez
2010-09-02 10:34:39 +02:00
parent a047bf52a4
commit eddb388ef9
4 changed files with 50 additions and 0 deletions

View File

@ -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 */