diff options
author | Jere Leppänen <jere.leppanen@nokia.com> | 2021-08-10 17:13:38 +0300 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2021-09-30 11:10:11 +0300 |
commit | 0325d7d4aeff78171a893bd73ea6c6474bc83ddf (patch) | |
tree | cc0e6c345d7c47590a197fce44379bfcfbed0a69 /test/performance/odp_sched_perf.c | |
parent | 735e84f433d0eb8be225e308eeccf958a1d64ea7 (diff) |
use odph_thread_common_param_init()
Use the new odph_thread_common_param_init() function to initialize
odph_thread_common_param_t.
Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'test/performance/odp_sched_perf.c')
-rw-r--r-- | test/performance/odp_sched_perf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/performance/odp_sched_perf.c b/test/performance/odp_sched_perf.c index 1c3314ca1..3bb1b0f57 100644 --- a/test/performance/odp_sched_perf.c +++ b/test/performance/odp_sched_perf.c @@ -1028,7 +1028,7 @@ static int start_workers(test_global_t *global, odp_instance_t instance) memset(global->thread_tbl, 0, sizeof(global->thread_tbl)); memset(thr_param, 0, sizeof(thr_param)); - memset(&thr_common, 0, sizeof(thr_common)); + odph_thread_common_param_init(&thr_common); thr_common.instance = instance; thr_common.cpumask = &global->cpumask; |