libmetal
latest
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
#include <stdint.h>
16
#include <metal/sys.h>
17
18
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
21
33
unsigned
long
long
metal_get_timestamp
(
void
);
34
37
#ifdef __cplusplus
38
}
39
#endif
40
41
#endif
/* __METAL_TIME__H__ */
42
metal_get_timestamp
unsigned long long metal_get_timestamp(void)
get timestamp This function returns the timestampe as unsigned long long value.
Definition:
time.c:16
lib
time.h
Generated on Sun Jun 8 2025 04:20:10 for libmetal by
1.9.1