This series adds odp_time_local_res() and odp_time_wait_ns(),
odp_time_wait_until() calls to time API and it's validation
tests and usage.
Since v2:
- replaced odp_time_wait() on odp_time_wait_ns() and odp_time_wait_until()
- corrected validation tests to validate new wait APIs
Since v1:
- used "wait" instead of "delay"
- used "res" instead of "rate"
- used inlined functions in odp_time_wait()
- corrected new API descriptions
Ivan Khoronzhuk (6):
api: time: add resolution and wait API calls
performance: pktio_perf: use odp_time_wait_ns() function instead of
looping
validation: time: test time constants in ns
validation: time: add test convertsion on 0
validation: time: add test for odp_time_local_res() and use resolution
validation: time: add test for odp_time_wait_ns() and
odp_time_wait_until()
include/odp/api/time.h | 21 +++++++
platform/linux-generic/odp_time.c | 100 +++++++++++++++++++++++++++-------
test/performance/odp_pktio_perf.c | 16 +-----
test/validation/time/time.c | 112 +++++++++++++++++++++++++++++++++-----
test/validation/time/time.h | 4 ++
5 files changed, 203 insertions(+), 50 deletions(-)
--
1.9.1
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp