| 197 | } |
| 198 | |
| 199 | static double calc_drop_rate(uint32_t enqueued, uint32_t dropped) |
| 200 | { |
| 201 | return (double)dropped / ((double)enqueued + (double)dropped); |
| 202 | } |
| 203 | |
| 204 | /** |
| 205 | * check if drop rate matches drop probability within tolerance |
no outgoing calls
no test coverage detected