Branch: refs/heads/api-next
Home: https://github.com/Linaro/odp
Commit: 4702cbf3b3aaa62c7f5438526164a314c86e7d37
https://github.com/Linaro/odp/commit/4702cbf3b3aaa62c7f5438526164a314c86e7d37
Author: Petri Savolainen <[email protected]>
Date: 2017-05-02 (Tue, 02 May 2017)
Changed paths:
M include/odp/api/spec/time.h
M platform/linux-generic/odp_time.c
M test/common_plat/validation/api/time/time.c
M test/common_plat/validation/api/time/time.h
Log Message:
-----------
api: time: remove odp_time_to_u64 from API
Debug function that converts odp_time_t to u64 is unnecessary
since odp_time_to_ns() returns time as a u64 (nsec) value.
Application can always use that as the 64 bit representation
of an odp_time_t value. Also validation tests for odp_time_to_u64()
were erroneous since those compared returned u64 values and
expected greater/lesser than relation.
Signed-off-by: Petri Savolainen <[email protected]>
Reviewed-and-tested-by: Bill Fischofer <[email protected]>
Signed-off-by: Maxim Uvarov <[email protected]>