aboutsummaryrefslogtreecommitdiff
path: root/config/odp-linux-generic.conf
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2018-11-13 13:01:26 +0200
committerMaxim Uvarov <maxim.uvarov@linaro.org>2018-11-16 21:57:54 +0300
commit0dcbdecc871783b5669dc9cb8cf68b7f4d7ffb76 (patch)
tree4da214a7c6a20e2b5429056c5a41bf4b12b497e2 /config/odp-linux-generic.conf
parentd89f772686dba6b331515be41aeefe345a207575 (diff)
linux-gen: timer: enable inline timer implementation using config file
Add configure option 'timer.inline' for enabling inline timer implementation. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'config/odp-linux-generic.conf')
-rw-r--r--config/odp-linux-generic.conf14
1 files changed, 13 insertions, 1 deletions
diff --git a/config/odp-linux-generic.conf b/config/odp-linux-generic.conf
index 339382899..d123e7735 100644
--- a/config/odp-linux-generic.conf
+++ b/config/odp-linux-generic.conf
@@ -16,7 +16,7 @@
# Mandatory fields
odp_implementation = "linux-generic"
-config_file_version = "0.1.4"
+config_file_version = "0.1.5"
# Shared memory options
shm: {
@@ -129,3 +129,15 @@ sched_basic: {
control = 1
}
}
+
+timer: {
+ # Use inline timer implementation
+ #
+ # By default, timer processing is done in background threads (thread per
+ # timer pool). With inline implementation timers are processed on worker
+ # cores instead. When using inline timers the application has to call
+ # odp_schedule() or odp_queue_deq() to actuate timer processing.
+ #
+ # Set to 1 to enable
+ inline = 0
+}