From 12c4ca508b07b8d2366b0c37bee5f866019e94c2 Mon Sep 17 00:00:00 2001 From: Matias Elo Date: Tue, 13 Nov 2018 15:08:02 +0200 Subject: linux-gen: timer: add config option for inline timer poll frequency Add configure option 'timer.inline_poll_interval' for adjusting inline timer polling frequency. Signed-off-by: Matias Elo Reviewed-by: Bill Fischofer Signed-off-by: Maxim Uvarov --- config/odp-linux-generic.conf | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config') diff --git a/config/odp-linux-generic.conf b/config/odp-linux-generic.conf index d123e7735..9969860d5 100644 --- a/config/odp-linux-generic.conf +++ b/config/odp-linux-generic.conf @@ -140,4 +140,11 @@ timer: { # # Set to 1 to enable inline = 0 + + # Inline timer poll interval + # + # When set to 1 inline timers are polled during every schedule round. + # Increasing the value reduces timer processing overhead while + # decreasing accuracy. Ignored when inline timer is not enabled. + inline_poll_interval = 10 } -- cgit v1.2.3