diff options
author | Petri Savolainen <petri.savolainen@nokia.com> | 2023-02-15 14:17:53 +0200 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2023-02-16 14:37:59 +0200 |
commit | e844610bee73b7e7f1d5d0e6f2afc69aa2ead0f6 (patch) | |
tree | 3ae7a1c7886d6959b46db241bdc4085d5b07b6e6 /test | |
parent | 548de65264ef5256aa013281ba12dda13f1211fa (diff) |
test: timer_perf: print min/max timeout params
Print min and max timeout length parameters when creating timer
pools.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/performance/odp_timer_perf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/performance/odp_timer_perf.c b/test/performance/odp_timer_perf.c index ccea30a14..3df9a875f 100644 --- a/test/performance/odp_timer_perf.c +++ b/test/performance/odp_timer_perf.c @@ -292,6 +292,8 @@ static int create_timer_pools(test_global_t *global) printf(" num timer %u\n", num_timer); printf(" resolution %" PRIu64 " nsec\n", res_ns); printf(" period %" PRIu64 " nsec\n", period_ns); + printf(" max timeout %" PRIu64 " nsec\n", max_tmo_ns); + printf(" min timeout %" PRIu64 " nsec\n", min_tmo_ns); printf(" first timer at %.2f sec\n", (double)START_NS / ODP_TIME_SEC_IN_NS); if (mode == MODE_SCHED_OVERH) printf(" test duration %.2f sec\n", (double)max_tmo_ns / ODP_TIME_SEC_IN_NS); |