Allows adding event to the latency monitor to be observed by the LATENCY * command. The call is skipped if the latency is smaller than the configured * latency-monitor-threshold. */
| 5298 | * command. The call is skipped if the latency is smaller than the configured |
| 5299 | * latency-monitor-threshold. */ |
| 5300 | void RM_LatencyAddSample(const char *event, mstime_t latency) { |
| 5301 | if (latency >= g_pserver->latency_monitor_threshold) |
| 5302 | latencyAddSample(event, latency); |
| 5303 | } |
| 5304 | |
| 5305 | /* -------------------------------------------------------------------------- |
| 5306 | * ## Blocking clients from modules |
nothing calls this directly
no test coverage detected