Home
last modified time | relevance | path

Searched refs:zmalloc_used_memory (Results 1 – 7 of 7) sorted by relevance

/redis-3.2.3/src/
H A Dzmalloc.c221 size_t zmalloc_used_memory(void) { in zmalloc_used_memory() function
322 return zmalloc_used_memory(); in zmalloc_get_rss()
328 return (float)rss/zmalloc_used_memory(); in zmalloc_get_fragmentation_ratio()
H A Dzmalloc.h73 size_t zmalloc_used_memory(void);
H A Drdb.c750 if (rdbSaveAuxFieldStrInt(rdb,"used-mem",zmalloc_used_memory()) == -1) return -1; in rdbSaveInfoAuxFields()
948 …server.stat_fork_rate = (double) zmalloc_used_memory() * 1000000 / server.stat_fork_time / (1024*1… in rdbSaveBackground()
1247 if (server.stat_peak_memory < zmalloc_used_memory()) in loadingProgress()
1248 server.stat_peak_memory = zmalloc_used_memory(); in loadingProgress()
1694 …server.stat_fork_rate = (double) zmalloc_used_memory() * 1000000 / server.stat_fork_time / (1024*1… in rdbSaveToSlavesSockets()
H A Dserver.c1125 if (zmalloc_used_memory() > server.stat_peak_memory) in serverCron()
1126 server.stat_peak_memory = zmalloc_used_memory(); in serverCron()
1161 zmalloc_used_memory()); in serverCron()
2934 size_t zmalloc_used = zmalloc_used_memory(); in genRedisInfoString()
3455 mem_used = zmalloc_used_memory(); in freeMemoryIfNeeded()
3581 delta = (long long) zmalloc_used_memory(); in freeMemoryIfNeeded()
3587 delta -= (long long) zmalloc_used_memory(); in freeMemoryIfNeeded()
H A Daof.c1292 …server.stat_fork_rate = (double) zmalloc_used_memory() * 1000000 / server.stat_fork_time / (1024*1… in rewriteAppendOnlyFileBackground()
H A Dnetworking.c955 zmalloc_used_memory() < server.maxmemory)) break; in writeToClient()
H A Dconfig.c980 if (server.maxmemory < zmalloc_used_memory()) {