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.

Since v4:
- corrected desc of time API:
  global -> local
  time stamp -> Time stamp in desc.

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                             | 68 +++++++++++++++++-----
 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, 228 insertions(+), 103 deletions(-)
 create mode 100644 platform/linux-generic/include/odp/plat/time_types.h

-- 
1.9.1

_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to