Lines Matching refs:lcore
52 executed on each worker lcore using the well-known
57 /* call lcore_mainloop() on every worker lcore */
62 /* call it on main lcore too */
89 As explained in the comment, it is better to use the TSC register (as it is a per-lcore register) t…
108 * The first timer (timer0) is loaded on the main lcore and expires every second.
112 * The second timer (timer1) is loaded on the next available lcore every 333 ms.
118 /* load timer0, every second, on main lcore, reloaded automatically */
126 /* load timer1, every second/3, on next lcore, reloaded manually */
146 printf("%s() on lcore %u\n", FUNCTION , lcore_id);
154 …for the second timer (timer1) displays a message and reloads the timer on the next lcore, using the
167 printf("%s() on lcore %u\\n", FUNCTION , lcore_id);
169 /* reload it on another lcore */