MCPcopy Create free account
hub / github.com/F-Stack/f-stack / signal_handler

Function signal_handler

dpdk/app/test/test_pmd_perf.c:316–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314}
315
316static void
317signal_handler(int signum)
318{
319 /* USR1 signal, stop testing */
320 if (signum == SIGUSR1) {
321 stop = 1;
322 }
323
324 /* USR2 signal, print stats */
325 if (signum == SIGUSR2)
326 stats_display(0);
327}
328#endif
329
330struct rte_mbuf **tx_burst;

Callers

nothing calls this directly

Calls 1

stats_displayFunction · 0.85

Tested by

no test coverage detected