| 42 | ~LatencyGeneratorImpl() override = default; |
| 43 | |
| 44 | LatencyGeneratorImpl(double average_latency, int32_t seed) |
| 45 | : gen_(static_cast<decltype(gen_)::result_type>(seed)), |
| 46 | latency_dist_(average_latency, average_latency * kStandardDeviationRatio) {} |
| 47 | |
| 48 | double NextLatency() override { |
| 49 | // std::random distributions are unlikely to be thread-safe, and |
nothing calls this directly
no outgoing calls
no test coverage detected