aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_timer_internal.h
diff options
context:
space:
mode:
authorJoyce Kong <joyce.kong@arm.com>2017-08-07 14:27:34 +0800
committerMaxim Uvarov <maxim.uvarov@linaro.org>2017-12-27 21:58:42 +0300
commitea404c1892f58a753199d5f8b54084db5d67d570 (patch)
treec4bb30324bf736b1515b975745c8b5659bdfe5a5 /platform/linux-generic/include/odp_timer_internal.h
parentd3f61fe721ba26adf596ab52696d37809727fe9d (diff)
linux-gen: timer: control timer pool polling frequency dynamically
Adjust frequency of timer pool polling by the duration of timer. There needs to be 0 timer pool polling when no timer pool created. Signed-off-by: Joyce Kong <joyce.kong@arm.com> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/include/odp_timer_internal.h')
-rw-r--r--platform/linux-generic/include/odp_timer_internal.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/platform/linux-generic/include/odp_timer_internal.h b/platform/linux-generic/include/odp_timer_internal.h
index 67ee9feff..0759f7278 100644
--- a/platform/linux-generic/include/odp_timer_internal.h
+++ b/platform/linux-generic/include/odp_timer_internal.h
@@ -20,9 +20,6 @@
#include <odp_pool_internal.h>
#include <odp/api/timer.h>
-/* Minimum number of nanoseconds between checking timer pools. */
-#define CONFIG_TIMER_RUN_RATELIMIT_NS 100
-
/* Minimum number of scheduling rounds between checking timer pools. */
#define CONFIG_TIMER_RUN_RATELIMIT_ROUNDS 1