Latency monitor initialization. We just need to create the dictionary * of time series, each time series is created on demand in order to avoid * having a fixed list to maintain. */
| 105 | * of time series, each time series is created on demand in order to avoid |
| 106 | * having a fixed list to maintain. */ |
| 107 | void latencyMonitorInit(void) { |
| 108 | g_pserver->latency_events = dictCreate(&latencyTimeSeriesDictType,NULL); |
| 109 | } |
| 110 | |
| 111 | /* Add the specified sample to the specified time series "event". |
| 112 | * This function is usually called via latencyAddSampleIfNeeded(), that |
no test coverage detected