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

Function stats_loop

dpdk/examples/bbdev_app/main.c:672–683  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

670}
671
672static int
673stats_loop(void *arg)
674{
675 struct stats_lcore_params *stats_lcore = arg;
676
677 while (!__atomic_load_n(&global_exit_flag, __ATOMIC_RELAXED)) {
678 print_stats(stats_lcore);
679 rte_delay_ms(500);
680 }
681
682 return 0;
683}
684
685static inline void
686run_encoding(struct lcore_conf *lcore_conf)

Callers 1

mainFunction · 0.85

Calls 2

rte_delay_msFunction · 0.85
print_statsFunction · 0.70

Tested by

no test coverage detected