diff options
author | Matias Elo <matias.elo@nokia.com> | 2023-08-08 11:02:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-08 11:02:27 +0300 |
commit | de97121a2e3afa072f7c51a0570f4b3bed0236c2 (patch) | |
tree | 1f34d2767951f54d11f0b9c8d48b0db04490d2c1 /include/odp/api/spec/time.h | |
parent | 2b359fc1759726826cf4e2afddbd0b7e39fab4c7 (diff) | |
parent | 1200684b94bf18ae98ba63fb49e9cda546b4832a (diff) |
Merge ODP v1.41.1.0v1.41.1.0_DPDK_22.11
Merge ODP linux-generic v1.41.1.0 into linux-dpdk.
Diffstat (limited to 'include/odp/api/spec/time.h')
-rw-r--r-- | include/odp/api/spec/time.h | 33 |
1 files changed, 4 insertions, 29 deletions
diff --git a/include/odp/api/spec/time.h b/include/odp/api/spec/time.h index c25338a51..f4496c4c7 100644 --- a/include/odp/api/spec/time.h +++ b/include/odp/api/spec/time.h @@ -1,5 +1,5 @@ /* Copyright (c) 2013-2018, Linaro Limited - * Copyright (c) 2020-2021, Nokia + * Copyright (c) 2020-2023, Nokia * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause @@ -19,39 +19,14 @@ extern "C" { #endif +#include <odp/api/std_types.h> +#include <odp/api/time_types.h> + /** @defgroup odp_time ODP TIME * Chip and CPU level wall clock time. * @{ */ -/** A microsecond in nanoseconds */ -#define ODP_TIME_USEC_IN_NS 1000ULL - -/** A millisecond in nanoseconds */ -#define ODP_TIME_MSEC_IN_NS 1000000ULL - -/** A second in nanoseconds */ -#define ODP_TIME_SEC_IN_NS 1000000000ULL - -/** A minute in nanoseconds */ -#define ODP_TIME_MIN_IN_NS 60000000000ULL - -/** An hour in nanoseconds */ -#define ODP_TIME_HOUR_IN_NS 3600000000000ULL - -/** - * @typedef odp_time_t - * ODP time stamp. Time stamp can represent a time stamp from local or global - * time source. A local time stamp must not be shared between threads. API calls - * work correctly only when all time stamps for input are from the same time - * source. - */ - -/** - * @def ODP_TIME_NULL - * Zero time stamp - */ - /** * Current local time * |