Searched refs:loss_percent (Results 1 – 11 of 11) sorted by relevance
62 foreman_cif.pipe.loss_percent = 5; in TEST_F()154 screenshare.pipe.loss_percent = 5; in TEST_F()166 screenshare.pipe.loss_percent = 10; in TEST_F()
97 DEFINE_int32(loss_percent, 0, "Percentage of packets randomly lost.");210 pipe_config.loss_percent = flags::LossPercent(); in Loopback()
99 DEFINE_int32(loss_percent, 0, "Percentage of packets randomly lost.");199 pipe_config.loss_percent = flags::LossPercent(); in Loopback()
632 if (params_.pipe.loss_percent != 0 || in CheckParams()
2571 network_config.loss_percent = 5; in TEST_F()
34 static bool UniformLoss(int loss_percent) { in UniformLoss() argument36 return outcome < loss_percent; in UniformLoss()166 if (UniformLoss(config_.loss_percent)) { in Process()
46 int loss_percent = 0; member
315 void LossFilter::SetLoss(float loss_percent) { in SetLoss() argument317 BWE_TEST_LOGGING_LOG1("Loss", "%f%%", loss_percent); in SetLoss()318 assert(loss_percent >= 0.0f); in SetLoss()319 assert(loss_percent <= 100.0f); in SetLoss()320 loss_fraction_ = loss_percent * 0.01f; in SetLoss()
211 static void TestLossFilter(float loss_percent, bool zero_tolerance) { in TestLossFilter() argument213 filter.SetLoss(loss_percent); in TestLossFilter()245 float loss_fraction = 0.01f * (100.0f - loss_percent); in TestLossFilter()
266 void SetLoss(float loss_percent);
255 net_config.loss_percent = 5; in TestAudioVideoSync()