libmetal
Loading...
Searching...
No Matches
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
19extern "C" {
20#endif
21
33unsigned long long metal_get_timestamp(void);
34
37#ifdef __cplusplus
38}
39#endif
40
41#endif /* __METAL_TIME__H__ */
42
unsigned long long metal_get_timestamp(void)
get timestamp This function returns the timestampe as unsigned long long value.
Definition time.c:16