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
19
#ifndef CPUCYCLE_H
20
#define CPUCYCLE_H
21
22
#include <stdint.h>
23
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
34
uint64_t
get_cycle_count
(
void
);
35
36
37
#ifdef __cplusplus
38
}
39
#endif
40
41
#endif
/* CPUCYCLE_H */
42
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 Tue Nov 24 2020 19:46:50 by
1.8.17