X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/d9cb288c9ededc83c59e1f46f0ae738a0fd3edd2..554a5dd2fc708d0985fecf69b87e167707691c32:/src/redis.h diff --git a/src/redis.h b/src/redis.h index 67efeeb0..5ae9cc1c 100644 --- a/src/redis.h +++ b/src/redis.h @@ -517,7 +517,7 @@ struct redisCommand { int vm_firstkey; /* The first argument that's a key (0 = no keys) */ int vm_lastkey; /* THe last argument that's a key */ int vm_keystep; /* The step between first and last key */ - long long microseconds; + long long microseconds, calls; }; struct redisFunctionSym { @@ -800,6 +800,7 @@ void updateDictResizePolicy(void); int htNeedsResize(dict *dict); void oom(const char *msg); void populateCommandTable(void); +void resetCommandTableStats(void); /* Disk store */ int dsOpen(void);