Zephyr API 3.6.99
Loading...
Searching...
No Matches
misc.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2014 Wind River Systems, Inc.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
14#ifndef ZEPHYR_INCLUDE_ARCH_ARC_V2_MISC_H_
15#define ZEPHYR_INCLUDE_ARCH_ARC_V2_MISC_H_
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21#ifndef _ASMLANGUAGE
22extern unsigned int z_arc_cpu_sleep_mode;
23
25
26static inline uint32_t arch_k_cycle_get_32(void)
27{
29}
30
32
33static inline uint64_t arch_k_cycle_get_64(void)
34{
36}
37#endif
38
39#ifdef __cplusplus
40}
41#endif
42
43#endif /* ZEPHYR_INCLUDE_ARCH_ARC_V2_MISC_H_ */
uint64_t sys_clock_cycle_get_64(void)
uint32_t sys_clock_cycle_get_32(void)
static uint32_t arch_k_cycle_get_32(void)
Definition misc.h:26
static uint64_t arch_k_cycle_get_64(void)
Definition misc.h:33
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT64_TYPE__ uint64_t
Definition stdint.h:91