API Reference Manual 1.51.0
Loading...
Searching...
No Matches
api/spec/time_types.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright (c) 2013-2018 Linaro Limited
3 * Copyright (c) 2020-2023 Nokia
4 */
5
12#ifndef ODP_API_SPEC_TIME_TYPES_H_
13#define ODP_API_SPEC_TIME_TYPES_H_
14#include <odp/visibility_begin.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
25#define ODP_TIME_USEC_IN_NS 1000ULL
26
28#define ODP_TIME_MSEC_IN_NS 1000000ULL
29
31#define ODP_TIME_SEC_IN_NS 1000000000ULL
32
34#define ODP_TIME_MIN_IN_NS 60000000000ULL
35
37#define ODP_TIME_HOUR_IN_NS 3600000000000ULL
38
63
68#ifdef __cplusplus
69}
70#endif
71
72#include <odp/visibility_end.h>
73#endif
Time stamp values at ODP startup.
odp_time_t global
Global time at ODP startup.
uint64_t global_ns
Global time in nanoseconds at ODP startup.