summaryrefslogtreecommitdiff
path: root/src/latency.c
diff options
context:
space:
mode:
authordejun.xdj <dejun.xdj@alibaba-inc.com>2018-08-22 18:07:02 +0800
committerdejun.xdj <dejun.xdj@alibaba-inc.com>2018-08-22 18:07:02 +0800
commit1ab64d405e66c8fecd0ff7bd65d22c46f2b1ad0e (patch)
tree82e2808a1df63ac8b6f690b8e55411a1b58bef8c /src/latency.c
parent39c70e728b5af0c50989ffbc05e568099f3e081b (diff)
downloadredis-1ab64d405e66c8fecd0ff7bd65d22c46f2b1ad0e.tar.gz
Revise the comments of latency command.
Diffstat (limited to 'src/latency.c')
-rw-r--r--src/latency.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/latency.c b/src/latency.c
index e8d2af306..d89c48db1 100644
--- a/src/latency.c
+++ b/src/latency.c
@@ -560,10 +560,11 @@ sds latencyCommandGenSparkeline(char *event, struct latencyTimeSeries *ts) {
/* LATENCY command implementations.
*
- * LATENCY SAMPLES: return time-latency samples for the specified event.
+ * LATENCY HISTORY: return time-latency samples for the specified event.
* LATENCY LATEST: return the latest latency for all the events classes.
* LATENCY DOCTOR: returns an human readable analysis of instance latency.
* LATENCY GRAPH: provide an ASCII graph of the latency of the specified event.
+ * LATENCY RESET: reset data of a specified event or all the data if no event provided.
*/
void latencyCommand(client *c) {
struct latencyTimeSeries *ts;