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

Function client_omit_timer_proc

src/iperf_client_api.c:254–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254static void
255client_omit_timer_proc(TimerClientData client_data, struct iperf_time *nowP)
256{
257 struct iperf_test *test = client_data.p;
258
259 test->omit_timer = NULL;
260 test->omitting = 0;
261 iperf_reset_stats(test);
262 if (test->verbose && !test->json_output && test->reporter_interval == 0)
263 iperf_printf(test, "%s", report_omit_done);
264
265 /* Reset the timers. */
266 if (test->stats_timer != NULL)
267 tmr_reset(nowP, test->stats_timer);
268 if (test->reporter_timer != NULL)
269 tmr_reset(nowP, test->reporter_timer);
270}
271
272static int
273create_client_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…