From b99536f95356223e3470ccf2d0039b4b8456b02c Mon Sep 17 00:00:00 2001 From: Matias Elo Date: Wed, 1 Nov 2023 15:59:16 +0200 Subject: [PATCH] test: performance: sync application tests with linux-generic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now when DPDK alternate timer API based timer implementation is the default, the same test applications and options can be run than with ODP linux-generic. Signed-off-by: Matias Elo Reviewed-by: Jere Leppänen --- test/performance/Makefile.am | 4 ++-- test/performance/odp_timer_perf_run.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/performance/Makefile.am b/test/performance/Makefile.am index 3fb6da58d8..7b0adbe090 100644 --- a/test/performance/Makefile.am +++ b/test/performance/Makefile.am @@ -15,7 +15,8 @@ EXECUTABLES = odp_atomic_perf \ odp_pool_perf \ odp_queue_perf \ odp_stash_perf \ - odp_random + odp_random \ + odp_stress COMPILE_ONLY = odp_cpu_bench \ odp_crypto \ @@ -29,7 +30,6 @@ COMPILE_ONLY = odp_cpu_bench \ odp_sched_perf \ odp_sched_pktio \ odp_scheduling \ - odp_stress \ odp_timer_perf if LIBCONFIG diff --git a/test/performance/odp_timer_perf_run.sh b/test/performance/odp_timer_perf_run.sh index 4f1cd69777..7738ca91bf 100755 --- a/test/performance/odp_timer_perf_run.sh +++ b/test/performance/odp_timer_perf_run.sh @@ -11,7 +11,7 @@ TEST_DIR="${TEST_DIR:-$(dirname $0)}" echo odp_timer_perf: odp_schedule overhead mode echo =============================================== -$TEST_DIR/odp_timer_perf${EXEEXT} -m 0 -c 1 -s 0 +$TEST_DIR/odp_timer_perf${EXEEXT} -m 0 -c 1 RET_VAL=$? if [ $RET_VAL -ne 0 ]; then @@ -22,7 +22,7 @@ fi echo odp_timer_perf: timer set + cancel mode echo =============================================== -$TEST_DIR/odp_timer_perf${EXEEXT} -m 1 -c 1 -t 10 -R 50 -s 0 +$TEST_DIR/odp_timer_perf${EXEEXT} -m 1 -c 1 -t 10 -R 50 RET_VAL=$? if [ $RET_VAL -ne 0 ]; then