summaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc')
-rw-r--r--cc/debug/latency_info.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/debug/latency_info.cc b/cc/debug/latency_info.cc
index 0664dfb..d76be74 100644
--- a/cc/debug/latency_info.cc
+++ b/cc/debug/latency_info.cc
@@ -48,7 +48,7 @@ void LatencyInfo::AddLatencyNumberWithTimestamp(
// into this method.
f->second.event_time += (time - f->second.event_time) * event_count /
new_count;
- f->second.event_count += new_count;
+ f->second.event_count = new_count;
}
}
}