Searched refs:latencies_ (Results 1 – 2 of 2) sorted by relevance
305 latencies_.push_back(now_time - pulse_time_ + extra_delay); in Write()312 size_t num_latency_values() const { return latencies_.size(); } in num_latency_values()315 if (latencies_.empty()) in min_latency()317 return *std::min_element(latencies_.begin(), latencies_.end()); in min_latency()321 if (latencies_.empty()) in max_latency()323 return *std::max_element(latencies_.begin(), latencies_.end()); in max_latency()327 if (latencies_.empty()) in average_latency()331 std::accumulate(latencies_.begin(), latencies_.end(), 0)) / in average_latency()332 latencies_.size(); in average_latency()337 for (auto it = latencies_.begin(); it != latencies_.end(); ++it) { in PrintResults()[all …]
313 latencies_.push_back(now_time - pulse_time_ + extra_delay); in Write()321 return latencies_.size(); in num_latency_values()325 if (latencies_.empty()) in min_latency()327 return *std::min_element(latencies_.begin(), latencies_.end()); in min_latency()331 if (latencies_.empty()) in max_latency()333 return *std::max_element(latencies_.begin(), latencies_.end()); in max_latency()337 if (latencies_.empty()) in average_latency()340 std::accumulate(latencies_.begin(), latencies_.end(), 0)) / in average_latency()341 latencies_.size(); in average_latency()346 for (auto it = latencies_.begin(); it != latencies_.end(); ++it) { in PrintResults()[all …]