Run timer pool processing on worker cores if the application hints that the scheduler will be used. This reduces the latency and jitter of the point at which timer pool processing begins. See [1] for details.
[1] https://docs.google.com/document/d/1sY7rOxqCNu-bMqjBiT5_keAIohrX1ZW-eL0oGLAQ4OM/edit?usp=sharing Signed-off-by: Brian Brooks <[email protected]> v2: - Reword 'worker_timers' to 'use_scheduler' - Use ODP Time instead of ticks Brian Brooks (2): timer: organize #include timer: allow timer processing to run on worker cores include/odp/api/spec/init.h | 5 + platform/linux-generic/include/odp_internal.h | 1 + .../linux-generic/include/odp_timer_internal.h | 5 + platform/linux-generic/odp_init.c | 8 +- platform/linux-generic/odp_schedule.c | 4 +- platform/linux-generic/odp_schedule_iquery.c | 3 + platform/linux-generic/odp_schedule_sp.c | 4 + platform/linux-generic/odp_timer.c | 116 +++++++++++++++++---- 8 files changed, 122 insertions(+), 24 deletions(-) -- 2.13.0
