Searched refs:bandwidth_history (Results 1 – 1 of 1) sorted by relevance
29 int CountBandwidthDips(std::queue<DataRate> bandwidth_history, in CountBandwidthDips() argument31 if (bandwidth_history.empty()) in CountBandwidthDips()33 DataRate first = bandwidth_history.front(); in CountBandwidthDips()34 bandwidth_history.pop(); in CountBandwidthDips()38 while (!bandwidth_history.empty()) { in CountBandwidthDips()39 if (bandwidth_history.front() + threshold < first && state_high) { in CountBandwidthDips()42 } else if (bandwidth_history.front() == first) { in CountBandwidthDips()44 } else if (bandwidth_history.front() > first) { in CountBandwidthDips()48 bandwidth_history.pop(); in CountBandwidthDips()765 std::queue<DataRate> bandwidth_history; in TEST_F() local[all …]