| 413 | } |
| 414 | |
| 415 | static void |
| 416 | server_omit_timer_proc(TimerClientData client_data, struct iperf_time *nowP) |
| 417 | { |
| 418 | struct iperf_test *test = client_data.p; |
| 419 | |
| 420 | test->omit_timer = NULL; |
| 421 | test->omitting = 0; |
| 422 | iperf_reset_stats(test); |
| 423 | if (test->verbose && !test->json_output && test->reporter_interval == 0) |
| 424 | iperf_printf(test, "%s", report_omit_done); |
| 425 | |
| 426 | /* Reset the timers. */ |
| 427 | if (test->stats_timer != NULL) |
| 428 | tmr_reset(nowP, test->stats_timer); |
| 429 | if (test->reporter_timer != NULL) |
| 430 | tmr_reset(nowP, test->reporter_timer); |
| 431 | } |
| 432 | |
| 433 | static int |
| 434 | create_server_omit_timer(struct iperf_test * test) |
nothing calls this directly
no test coverage detected
searching dependent graphs…