projects
/
redis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'unstable'
[redis.git]
/
src
/
zmalloc.h
diff --git
a/src/zmalloc.h
b/src/zmalloc.h
index bb6f629af78616e09cf0086380f436794e3b351c..d19979a30adafb4faf79e741a652a22f6a166e94 100644
(file)
--- a/
src/zmalloc.h
+++ b/
src/zmalloc.h
@@
-40,5
+40,8
@@
size_t zmalloc_used_memory(void);
void zmalloc_enable_thread_safeness(void);
float zmalloc_get_fragmentation_ratio(void);
size_t zmalloc_get_rss(void);
+size_t zmalloc_allocations_for_size(size_t size);
+
+#define ZMALLOC_MAX_ALLOC_STAT 256
#endif /* _ZMALLOC_H */