diff options
author | Matias Elo <matias.elo@nokia.com> | 2023-10-09 10:02:08 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2023-10-09 12:00:53 +0300 |
commit | da8743f5ae9848401cf6d7b21a27e75ec94a3f41 (patch) | |
tree | f1c2faf2701f7c41ca7b1350a9d9cccce8919821 | |
parent | 4492645b79aeed17ef7a83e4a064b5894a1853aa (diff) |
test: performance: fix wrong type in bench_tm_suite_init()
Use correct type when zeroing timed benchmark suite data.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
-rw-r--r-- | test/performance/bench_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/performance/bench_common.c b/test/performance/bench_common.c index 1d3567fd4..710b5a005 100644 --- a/test/performance/bench_common.c +++ b/test/performance/bench_common.c @@ -139,7 +139,7 @@ int bench_run(void *arg) void bench_tm_suite_init(bench_tm_suite_t *suite) { - memset(suite, 0, sizeof(bench_suite_t)); + memset(suite, 0, sizeof(bench_tm_suite_t)); odp_atomic_init_u32(&suite->exit_worker, 0); } |