diff options
-rw-r--r-- | src/node_perf.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_perf.cc b/src/node_perf.cc index e16be29a87..1ca5cd5e01 100644 --- a/src/node_perf.cc +++ b/src/node_perf.cc @@ -539,6 +539,7 @@ bool ELDHistogram::RecordDelta() { bool ELDHistogram::Enable() { if (enabled_) return false; enabled_ = true; + prev_ = 0; uv_timer_start(timer_, ELDHistogramDelayInterval, resolution_, |