xtensa_perfmon_config struct
Performance monitor configuration structure Structure to configure performance counter to measure dedicated function
Fields
how much times function will be called before the calback will be repeated.
Difference between min and max counter number 0..1, 0 - no difference, 1 - not used.
This pointer will be passed to the call_function as a parameter.
pointer to the function that have to be called.
void (*)(void *params, uint32_t select, uint32_t mask, uint32_t value)
pointer to the function that will be called with result parameters.
parameter that will be passed to the callback.
trace level for all counters. In case of negative value, the filter will be ignored. If it's >=0, then the perfmon will count only when interrupt level > tracelevel. It's useful to monitor interrupts.
amount of counter in the list.
list of the select/mask parameters.
![]()
typedef struct xtensa_perfmon_config {