Loading...
Searching...
No Matches
cpucycle.h File Reference

Functions to read CPU cycle counter. More...

Detailed Description

Functions to read CPU cycle counter.

Author
JP Bonn

Definition in file cpucycle.h.

#include <stdint.h>
+ Include dependency graph for cpucycle.h:

Go to the source code of this file.

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 running from an arbitrary start time in the past.