add zmalloc used mem to DEBUG SDSLEN

This commit is contained in:
oranagra
2016-05-18 08:08:43 +03:00
committed by antirez
parent 78f35f8d2c
commit 309c2bcd1b
2 changed files with 7 additions and 3 deletions

View File

@ -1242,6 +1242,8 @@ void addReplyHumanLongDouble(client *c, long double d);
void addReplyLongLong(client *c, long long ll);
void addReplyMultiBulkLen(client *c, long length);
void copyClientOutputBuffer(client *dst, client *src);
size_t sdsZmallocSize(sds s);
size_t getStringObjectSdsUsedMemory(robj *o);
void *dupClientReplyValue(void *o);
void getClientsMaxBuffers(unsigned long *longest_output_list,
unsigned long *biggest_input_buffer);