1 // Copyright 2015 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "quiche/quic/test_tools/rtt_stats_peer.h" 6 7 namespace quic { 8 namespace test { 9 10 // static SetSmoothedRtt(RttStats * rtt_stats,QuicTime::Delta rtt_ms)11void RttStatsPeer::SetSmoothedRtt(RttStats* rtt_stats, QuicTime::Delta rtt_ms) { 12 rtt_stats->smoothed_rtt_ = rtt_ms; 13 } 14 15 // static SetMinRtt(RttStats * rtt_stats,QuicTime::Delta rtt_ms)16void RttStatsPeer::SetMinRtt(RttStats* rtt_stats, QuicTime::Delta rtt_ms) { 17 rtt_stats->min_rtt_ = rtt_ms; 18 } 19 20 } // namespace test 21 } // namespace quic 22