diff options
author | antirez <antirez@gmail.com> | 2014-07-08 11:31:46 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-07-08 11:31:46 +0200 |
commit | 2a232dfa9a9e00a5abcb4a0f02bf5db55590f17e (patch) | |
tree | 39796590b5d777b7aa5fbc81dc6421ecbc24a2a0 /src/latency.h | |
parent | 19853db892aa10a8b00a561b7dc1d48f7176ee38 (diff) | |
download | redis-2a232dfa9a9e00a5abcb4a0f02bf5db55590f17e.tar.gz |
LATENCY DOCTOR: initial draft and events summary output.
Diffstat (limited to 'src/latency.h')
-rw-r--r-- | src/latency.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/latency.h b/src/latency.h index f28fce375..6ddbe0410 100644 --- a/src/latency.h +++ b/src/latency.h @@ -58,6 +58,7 @@ struct latencyStats { uint32_t max; /* Max of current samples. */ uint32_t mad; /* Mean absolute deviation. */ uint32_t samples; /* Number of non-zero samples. */ + time_t period; /* Number of seconds since first event and now. */ }; void latencyMonitorInit(void); |