Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
cpucycle.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2017 JP Bonn
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser General
5
* Public License v2.1. See the file LICENSE in the top level directory for more
6
* details.
7
*/
8
9
#pragma once
10
21
#include <stdint.h>
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
32
uint64_t
get_cycle_count
(
void
);
33
34
#ifdef __cplusplus
35
}
36
#endif
37
get_cycle_count
uint64_t get_cycle_count(void)
Returns a count of the number of clock cycles executed by the processor core on which the hart is run...
Generated on Mon Jun 30 2025 14:58:01 by
1.9.1