Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / cc / base / rolling_time_delta_history.cc
index db04f58..0f95cc5 100644 (file)
@@ -26,6 +26,10 @@ void RollingTimeDeltaHistory::InsertSample(base::TimeDelta time) {
   chronological_sample_deque_.push_back(it);
 }
 
+size_t RollingTimeDeltaHistory::SampleCount() {
+  return sample_set_.size();
+}
+
 void RollingTimeDeltaHistory::Clear() {
   chronological_sample_deque_.clear();
   sample_set_.clear();