diff options
author | dejun.xdj <dejun.xdj@alibaba-inc.com> | 2018-08-22 18:07:02 +0800 |
---|---|---|
committer | dejun.xdj <dejun.xdj@alibaba-inc.com> | 2018-08-22 18:07:02 +0800 |
commit | 1ab64d405e66c8fecd0ff7bd65d22c46f2b1ad0e (patch) | |
tree | 82e2808a1df63ac8b6f690b8e55411a1b58bef8c /src/latency.c | |
parent | 39c70e728b5af0c50989ffbc05e568099f3e081b (diff) | |
download | redis-1ab64d405e66c8fecd0ff7bd65d22c46f2b1ad0e.tar.gz |
Revise the comments of latency command.
Diffstat (limited to 'src/latency.c')
-rw-r--r-- | src/latency.c | 3 |
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; |