Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
Go to the source code of this file.
Functions | |
void | soc_timing_init (void) |
Initialize the timing subsystem on SoC. | |
void | soc_timing_start (void) |
Signal the start of the timing information gathering. | |
void | soc_timing_stop (void) |
Signal the end of the timing information gathering. | |
timing_t | soc_timing_counter_get (void) |
Return timing counter. | |
uint64_t | soc_timing_cycles_get (volatile timing_t *const start, volatile timing_t *const end) |
Get number of cycles between start and end . | |
uint64_t | soc_timing_freq_get (void) |
Get frequency of counter used (in Hz). | |
uint64_t | soc_timing_cycles_to_ns (uint64_t cycles) |
Convert number of cycles into nanoseconds. | |
uint64_t | soc_timing_cycles_to_ns_avg (uint64_t cycles, uint32_t count) |
Convert number of cycles into nanoseconds with averaging. | |
uint32_t | soc_timing_freq_get_mhz (void) |
Get frequency of counter used (in MHz). | |
void | board_timing_init (void) |
Initialize the timing subsystem. | |
void | board_timing_start (void) |
Signal the start of the timing information gathering. | |
void | board_timing_stop (void) |
Signal the end of the timing information gathering. | |
timing_t | board_timing_counter_get (void) |
Return timing counter. | |
uint64_t | board_timing_cycles_get (volatile timing_t *const start, volatile timing_t *const end) |
Get number of cycles between start and end . | |
uint64_t | board_timing_freq_get (void) |
Get frequency of counter used (in Hz). | |
uint64_t | board_timing_cycles_to_ns (uint64_t cycles) |
Convert number of cycles into nanoseconds. | |
uint64_t | board_timing_cycles_to_ns_avg (uint64_t cycles, uint32_t count) |
Convert number of cycles into nanoseconds with averaging. | |
uint32_t | board_timing_freq_get_mhz (void) |
Get frequency of counter used (in MHz). | |
void | timing_init (void) |
Initialize the timing subsystem. | |
void | timing_start (void) |
Signal the start of the timing information gathering. | |
void | timing_stop (void) |
Signal the end of the timing information gathering. | |
static timing_t | timing_counter_get (void) |
Return timing counter. | |
static uint64_t | timing_cycles_get (volatile timing_t *const start, volatile timing_t *const end) |
Get number of cycles between start and end . | |
static uint64_t | timing_freq_get (void) |
Get frequency of counter used (in Hz). | |
static uint64_t | timing_cycles_to_ns (uint64_t cycles) |
Convert number of cycles into nanoseconds. | |
static uint64_t | timing_cycles_to_ns_avg (uint64_t cycles, uint32_t count) |
Convert number of cycles into nanoseconds with averaging. | |
static uint32_t | timing_freq_get_mhz (void) |
Get frequency of counter used (in MHz). | |