LATENCY DOCTOR: initial draft and events summary output.

This commit is contained in:
antirez
2014-07-08 11:31:46 +02:00
parent 19853db892
commit 2a232dfa9a
3 changed files with 86 additions and 2 deletions

View File

@ -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);