Lines Matching refs:main
39 .. literalinclude:: ../../../examples/timer/main.c
45 After timer creation (see the next paragraph), the main loop is
47 rte_eal_remote_launch() and also on the main.
49 .. literalinclude:: ../../../examples/timer/main.c
55 The main loop is very simple in this example:
57 .. literalinclude:: ../../../examples/timer/main.c
60 :end-before: >8 End of main loop.
70 In the main() function, the two timers are initialized.
73 .. literalinclude:: ../../../examples/timer/main.c
81 * The first timer (timer0) is loaded on the main lcore and expires every second.
89 .. literalinclude:: ../../../examples/timer/main.c
91 :start-after: Load timer0, every second, on main lcore, reloaded automatically. 8<
98 .. literalinclude:: ../../../examples/timer/main.c
106 .. literalinclude:: ../../../examples/timer/main.c