libmetal
time.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2016, Xilinx Inc. and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 /*
8  * @file time.h
9  * @brief Time primitives for libmetal.
10  */
11 
12 #ifndef __METAL_TIME__H__
13 #define __METAL_TIME__H__
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
22 #include <stdint.h>
23 #include <metal/sys.h>
24 
32 unsigned long long metal_get_timestamp(void);
33 
36 #ifdef __cplusplus
37 }
38 #endif
39 
40 #endif /* __METAL_TIME__H__ */
41 
unsigned long long metal_get_timestamp(void)
get timestamp This function returns the timestampe as unsigned long long value.
Definition: time.c:16