Separate latency monitoring of eviction loop and eviction DELs.

This commit is contained in:
antirez
2015-02-09 15:17:20 +01:00
parent 8ddc14523f
commit 585d1a60bf
3 changed files with 20 additions and 2 deletions

View File

@ -86,4 +86,8 @@ int THPIsEnabled(void);
(var) >= server.latency_monitor_threshold) \
latencyAddSample((event),(var));
/* Remove time from a nested event. */
#define latencyRemoveNestedEvent(event_var,nested_var) \
event_var += nested_var;
#endif /* __LATENCY_H */