Petri,
Could you please review this series.
On 15.10.15 16:02, Ivan Khoronzhuk wrote:
This seres is intended to unbind time API names from CPU "cycles".
Also remove usage of word "cycle" from appropriate places as it's
no more valid. This patch series only change API names and adds
calls required for that and doesn't add new API functionality.
API to get rate of time and delay call will be added separately as
they require to modify some examples and tests.
v3:
api: time: change API to use ticks instead of cycles
https://lists.linaro.org/pipermail/lng-odp/2015-August/014198.html
Since v3:
- don't use "tick" word in API names
- added opaque type odp_time_t
- added additional function: cmpr, sum, to_u64
- use "time stamp" word instead of "handle"
- described more clearly timestamps order in functions
- two new patches:
performance: odp_pktio_perf: fix potential overflow in wait loop
example: generator: compare ticks instead of ns in loop
Since v1, v2:
- changed series name a little bit
- added opaque type odp_time_t
- added missed spaces in printf
- removed legacy "count" words
Ivan Khoronzhuk (5):
performance: odp_pktio_perf: fix potential overflow in wait loop
example: generator: compare ticks instead of ns in loop
api: time: unbind CPU cycles from time API
linux-generic: align implementation with new time API
test/example: avoid "cycle" word usage
example/generator/odp_generator.c | 14 ++---
include/odp/api/time.h | 65 +++++++++++++++++-----
platform/linux-generic/Makefile.am | 1 +
.../linux-generic/include/odp/plat/time_types.h | 36 ++++++++++++
platform/linux-generic/include/odp/time.h | 1 +
platform/linux-generic/odp_schedule.c | 16 +++---
platform/linux-generic/odp_time.c | 62 +++++++++++++++++----
test/performance/odp_pktio_perf.c | 56 ++++++++++---------
test/validation/pktio/pktio.c | 20 +++----
test/validation/scheduler/scheduler.c | 4 +-
test/validation/time/time.c | 47 ++++++++--------
test/validation/time/time.h | 6 +-
12 files changed, 225 insertions(+), 103 deletions(-)
create mode 100644 platform/linux-generic/include/odp/plat/time_types.h
--
Regards,
Ivan Khoronzhuk
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp