MCPcopy Create free account
hub / github.com/esnet/iperf / server_omit_timer_proc

Function server_omit_timer_proc

src/iperf_server_api.c:415–431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413}
414
415static void
416server_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
433static int
434create_server_omit_timer(struct iperf_test * test)

Callers

nothing calls this directly

Calls 3

iperf_reset_statsFunction · 0.85
iperf_printfFunction · 0.85
tmr_resetFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…