Petri,
Could you please review this series.
The linux-generic feels bad w/o new time API.
On 23.11.15 23:20, Ivan Khoronzhuk wrote:
This series is intended to modify time API to be used as monotonic wall
time in order to simplify time API usage and create prerequisites for
adding global time API.
Since v2:
- removed patch changing type of ODP_TIME_*
- added new patch:
test: performance: pktio: don't use direct arithmetic operations with
odp_time_t
- added new patch:
performance: sched: use ODP time API instead of clock_gettime
- combined monotonic and wall time patches
- removed odp_time_local_val() and odp_time_val_to_ns()
- replaced terms monotonic and wall in API desc
Since v1:
- corrected name of the series to be api-next
- use thread local for holding start time
Ivan Khoronzhuk (7):
validation: time: don't assign int directly to odp_time_t
test: performance: pktio: don't use direct arithmetic operations with
odp_time_t
linux-generic: schedule: use schedule time in ns
linux-generic: odp_time: don't use cpu cycle API to get time
performance: sched: use ODP time API instead of clock_gettime
api: time: make odp_local_time to be monotonic wall time
validation: time: align tests with current time API
example/generator/odp_generator.c | 10 +-
include/odp/api/time.h | 3 +-
platform/linux-generic/Makefile.am | 1 -
.../linux-generic/include/odp/plat/time_types.h | 6 +-
platform/linux-generic/include/odp_cpu_internal.h | 29 ---
platform/linux-generic/include/odp_internal.h | 2 +
platform/linux-generic/odp_cpu.c | 6 +-
platform/linux-generic/odp_schedule.c | 18 +-
platform/linux-generic/odp_time.c | 112 +++++++----
test/performance/odp_pktio_perf.c | 24 +--
test/performance/odp_scheduling.c | 37 +---
test/validation/pktio/pktio.c | 21 +-
test/validation/time/time.c | 224 +++++++++++++++++++--
test/validation/time/time.h | 7 +-
14 files changed, 339 insertions(+), 161 deletions(-)
delete mode 100644 platform/linux-generic/include/odp_cpu_internal.h
--
Regards,
Ivan Khoronzhuk
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp