diff options
author | Matias Elo <matias.elo@nokia.com> | 2018-11-13 13:01:26 +0200 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2018-11-23 11:42:26 +0300 |
commit | efb3dc0e6524b32442dc50f5ced9ce1f1d6fd948 (patch) | |
tree | 728102250f7bdaf1064c855bd5469101f30049ce /config/odp-linux-generic.conf | |
parent | 02b60f6739a3980cab9cd1afca5dcc1fedd84a1e (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.conf | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/config/odp-linux-generic.conf b/config/odp-linux-generic.conf index 2be1fee7c..2ac6c44d4 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: { @@ -125,3 +125,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 +} |