Skip to content

Commit

Permalink
test: performance: sync application tests with linux-generic
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Jere Leppänen <[email protected]>
  • Loading branch information
MatiasElo committed Nov 6, 2023
1 parent 0f948fc commit b99536f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/performance/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -29,7 +30,6 @@ COMPILE_ONLY = odp_cpu_bench \
odp_sched_perf \
odp_sched_pktio \
odp_scheduling \
odp_stress \
odp_timer_perf

if LIBCONFIG
Expand Down
4 changes: 2 additions & 2 deletions test/performance/odp_timer_perf_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit b99536f

Please sign in to comment.