cpucycle.h

Functions to read CPU cycle counter.

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.