Skip to content

Commit

Permalink
test: performance: add pool latency tester
Browse files Browse the repository at this point in the history
`odp_pool_latency` is a simple pool latency tester for profiling pool
allocation and free latencies under different load patterns. Test scenario
consists of a configurable pattern (allocations/frees/delays) that is
run continuously. All the currently specified pool types are available
for testing.

Signed-off-by: Tuomas Taipale <[email protected]>
  • Loading branch information
TuomasTaipale committed Jan 29, 2024
1 parent 132cfb7 commit 006c331
Show file tree
Hide file tree
Showing 3 changed files with 1,384 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/performance/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ odp_mem_perf
odp_packet_gen
odp_pktio_ordered
odp_pktio_perf
odp_pool_latency
odp_pool_perf
odp_queue_perf
odp_random
Expand Down
2 changes: 2 additions & 0 deletions test/performance/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ EXECUTABLES = odp_atomic_perf \
odp_lock_perf \
odp_mem_perf \
odp_pktio_perf \
odp_pool_latency \
odp_pool_perf \
odp_queue_perf \
odp_stash_perf \
Expand Down Expand Up @@ -81,6 +82,7 @@ odp_sched_latency_SOURCES = odp_sched_latency.c
odp_sched_pktio_SOURCES = odp_sched_pktio.c
odp_scheduling_SOURCES = odp_scheduling.c
odp_pktio_perf_SOURCES = odp_pktio_perf.c
odp_pool_latency_SOURCES = odp_pool_latency.c
odp_pool_perf_SOURCES = odp_pool_perf.c
odp_queue_perf_SOURCES = odp_queue_perf.c
odp_random_SOURCES = odp_random.c
Expand Down
Loading

0 comments on commit 006c331

Please sign in to comment.