aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2023-11-01 15:59:16 +0200
committerMatias Elo <matias.elo@nokia.com>2023-11-06 08:55:31 +0200
commitb99536f95356223e3470ccf2d0039b4b8456b02c (patch)
tree1c81ad73c45b1e9ad9fe4f628da4c4f9f24b47f0
parent0f948fc013e643e6da49e7936ffdb31dce63fa20 (diff)
test: performance: sync application tests with linux-generic
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 <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
-rw-r--r--test/performance/Makefile.am4
-rwxr-xr-xtest/performance/odp_timer_perf_run.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/performance/Makefile.am b/test/performance/Makefile.am
index 3fb6da58d..7b0adbe09 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 4f1cd6977..7738ca91b 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