diff options
Diffstat (limited to 'include/odp/api/abi-default/time.h')
-rw-r--r-- | include/odp/api/abi-default/time.h | 37 |
1 files changed, 2 insertions, 35 deletions
diff --git a/include/odp/api/abi-default/time.h b/include/odp/api/abi-default/time.h index 94587371d..e601e6fd2 100644 --- a/include/odp/api/abi-default/time.h +++ b/include/odp/api/abi-default/time.h @@ -1,15 +1,9 @@ -/* Copyright (c) 2015-2018, Linaro Limited +/* Copyright (c) 2023, Nokia * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ -/** - * @file - * - * ODP time service - */ - #ifndef ODP_ABI_TIME_H_ #define ODP_ABI_TIME_H_ @@ -17,34 +11,7 @@ extern "C" { #endif -/** @addtogroup odp_time - * @{ - **/ - -/** - * @internal Time structure used for both POSIX timespec and HW counter - * implementations. - */ -typedef struct odp_time_t { - /** @internal Variant mappings for time type */ - union { - /** @internal Used with generic 64 bit operations */ - uint64_t u64; - - /** @internal Nanoseconds */ - uint64_t nsec; - - /** @internal HW timer counter value */ - uint64_t count; - - }; -} odp_time_t; - -#define ODP_TIME_NULL ((odp_time_t){.u64 = 0}) - -/** - * @} - */ +/* Empty header required due to the inline functions */ #ifdef __cplusplus } |