Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
cpucycle.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2017 JP Bonn
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
18
#include <stdint.h>
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
29
uint64_t
get_cycle_count
(
void
);
30
31
#ifdef __cplusplus
32
}
33
#endif
34
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 Wed Oct 1 2025 21:55:44 by
1.9.1