Skip to content

Conversation

TuomasTaipale
Copy link
Collaborator

@TuomasTaipale TuomasTaipale commented Sep 22, 2025

Add new tests for (oneshot) timer start and cancel. Additionally, add new mode option for optionally tracking function minimum and maximum on top of average execution times.

v2:

  • Rebased
  • Matias' comment

@odpbuild odpbuild changed the title test: bench_timer: add tests for timer start and cancel [PATCH v1] test: bench_timer: add tests for timer start and cancel Sep 22, 2025
return 0;
}

static void init_suite(gbl_args_t *gbl_args, odp_bool_t is_export)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is_export seems kinda unnecessary, the result pointer could be initialized always.

Add new option to control measurement mode. Two modes are provided, one
for throughput and one for latency. Throughput mode keeps track of
average execution times and is basically the current operation mode of
the tester. Latency mode utilizes the bench tm suite and additionally
tracks function minimum and maximum execution times.

Signed-off-by: Tuomas Taipale <[email protected]>
Add new tests for (oneshot) timer start and cancel.

Signed-off-by: Tuomas Taipale <[email protected]>
@TuomasTaipale TuomasTaipale force-pushed the dev/refactor_bench_timer branch from 4a3dc65 to 422a5da Compare October 7, 2025 06:44
@odpbuild odpbuild changed the title [PATCH v1] test: bench_timer: add tests for timer start and cancel [PATCH v2] test: bench_timer: add tests for timer start and cancel Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants