Functions | |
uint64 | HAP_perf_get_time_us (void) |
static uint64 | HAP_perf_get_qtimer_count (void) |
uint64 | HAP_perf_qtimer_count_to_us (uint64 count) |
uint64 | HAP_perf_get_pcycles (void) |
uint64 HAP_perf_get_pcycles | ( | void | ) |
Gets the current 64-bit Hexagon Processor cycle count. The processor cycle count is the current number of processor cycles executed since the processor was last reset. Note that this counter stops incrementing whenever the DSP enters a low-power state (such as clock gating), as opposed to the qtimer, which increments regardless of the DSP power state.
|
inlinestatic |
Gets the current 56 bit, 19.2MHz global hardware clock count. This value should be treated as relative and not absolute. The value wraps around to zero once it exceeds the maxiumum value.
uint64 HAP_perf_get_time_us | ( | void | ) |
Gets the current value of 56-bit, 19.2MHz hardware counter converted to micro-seconds. This value should be treated as relative and not absolute. The value wraps around to zero once it exceeds the maxiumum value. This function performs an integer division in order to convert ticks to time, which adds some overhead. Consider using HAP_perf_get_qtimer_count for a lower overhead.
uint64 HAP_perf_qtimer_count_to_us | ( | uint64 | count | ) |
Converts the 19.2 MHz global hardware count to micro-seconds.
[in] | count | - 19.2 MHz global hardware count |