Searched refs:sim_config (Results 1 – 1 of 1) sorted by relevance
25 SimulatedNetwork::Config sim_config; in CreateSimulationConfig() local26 sim_config.link_capacity_kbps = config.bandwidth.kbps_or(0); in CreateSimulationConfig()27 sim_config.loss_percent = config.loss_rate * 100; in CreateSimulationConfig()28 sim_config.queue_delay_ms = config.delay.ms(); in CreateSimulationConfig()29 sim_config.delay_standard_deviation_ms = config.delay_std_dev.ms(); in CreateSimulationConfig()30 sim_config.packet_overhead = config.packet_overhead.bytes<int>(); in CreateSimulationConfig()31 sim_config.queue_length_packets = in CreateSimulationConfig()33 return sim_config; in CreateSimulationConfig()44 SimulatedNetwork::Config sim_config = CreateSimulationConfig(config); in CreateBehavior() local45 return std::make_unique<SimulatedNetwork>(sim_config); in CreateBehavior()[all …]