summaryrefslogtreecommitdiff
path: root/src/quicklist.h
diff options
context:
space:
mode:
authorMatt Stancliff <matt@genges.com>2014-12-10 22:54:19 -0500
committerMatt Stancliff <matt@genges.com>2015-01-02 11:16:09 -0500
commit5127e3998058983351b6c0b94d1341f9d646c9cc (patch)
tree3daa90448ae11e92e3859b75babb258bac10e154 /src/quicklist.h
parent8d7021892ec79bfea3628bcc2999512d9a757a21 (diff)
downloadredis-5127e3998058983351b6c0b94d1341f9d646c9cc.tar.gz
Add quicklist info to DEBUG OBJECT
Added field 'ql_nodes' and 'ql_avg_per_node'. ql_nodes is the number of quicklist nodes in the quicklist. ql_avg_node is the average fill level in each quicklist node. (LLEN / QL_NODES) Sample output: 127.0.0.1:6379> DEBUG object b Value at:0x7fa42bf2fed0 refcount:1 encoding:quicklist serializedlength:18489 lru:8983768 lru_seconds_idle:3 ql_nodes:430 ql_avg_per_node:511.73 127.0.0.1:6379> llen b (integer) 220044
Diffstat (limited to 'src/quicklist.h')
0 files changed, 0 insertions, 0 deletions