| 155 | } |
| 156 | |
| 157 | u64 flow_delay(const struct flow *flow) |
| 158 | { |
| 159 | u64 delay = 0; |
| 160 | for (size_t i = 0; i < tal_count(flow->path); i++) |
| 161 | delay += flow_edge(flow, i)->delay; |
| 162 | return delay; |
| 163 | } |
| 164 | |
| 165 | u64 flows_worst_delay(struct flow **flows) |
| 166 | { |
no test coverage detected