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

Function enable_primary_monitor

dpdk/app/pdump/main.c:962–971  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

960}
961
962static void
963enable_primary_monitor(void)
964{
965 int ret;
966
967 /* Once primary exits, so will pdump. */
968 ret = rte_eal_alarm_set(MONITOR_INTERVAL, monitor_primary, NULL);
969 if (ret < 0)
970 printf("Fail to enable monitor:%d\n", ret);
971}
972
973int
974main(int argc, char **argv)

Callers 1

mainFunction · 0.70

Calls 2

rte_eal_alarm_setFunction · 0.50
printfFunction · 0.50

Tested by

no test coverage detected