API Reference Manual  1.45.0
api/abi-default/time_types.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2015-2018 Linaro Limited
3  */
4 
5 #ifndef ODP_ABI_TIME_TYPES_H_
6 #define ODP_ABI_TIME_TYPES_H_
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 #include <stdint.h>
13 
22 typedef struct odp_time_t {
24  union {
26  uint64_t u64;
27 
29  uint64_t nsec;
30 
32  uint64_t count;
33 
34  };
36 
37 #define ODP_TIME_NULL ((odp_time_t){.u64 = 0})
38 
43 #ifdef __cplusplus
44 }
45 #endif
46 
47 #endif
struct odp_time_t odp_time_t
ODP time stamp.