Searched refs:loss_percent (Results 1 – 7 of 7) sorted by relevance
40 loss_percent(0) { in Config()51 int loss_percent; member
36 static bool UniformLoss(int loss_percent) { in UniformLoss() argument38 return outcome < loss_percent; in UniformLoss()168 if (UniformLoss(config_.loss_percent)) { in Process()
55 DEFINE_int32(loss_percent, 0, "Percentage of packets randomly lost.");100 pipe_config.loss_percent = flags::LossPercent(); in Loopback()
231 net_config.loss_percent = 5; in TestAudioVideoSync()
270 void LossFilter::SetLoss(float loss_percent) { in SetLoss() argument272 BWE_TEST_LOGGING_LOG1("Loss", "%f%%", loss_percent); in SetLoss()273 assert(loss_percent >= 0.0f); in SetLoss()274 assert(loss_percent <= 100.0f); in SetLoss()275 loss_fraction_ = loss_percent * 0.01f; in SetLoss()
232 static void TestLossFilter(float loss_percent, bool zero_tolerance) { in TestLossFilter() argument234 filter.SetLoss(loss_percent); in TestLossFilter()261 float loss_fraction = 0.01f * (100.0f - loss_percent); in TestLossFilter()
252 void SetLoss(float loss_percent);