This section contain APIs for configuring and controlling the Performance Monitor Events for Arm based processors supported by standalone BSP. For more information about the event counters, see xpm_counter.h file.
It contains APIs to setup an event, return the event counter value, disable event(s), enable events, and reset event counters. It also provides a helper function: Xpm_SleepPerfCounter that is used to implement sleep routines in non-OS environment. It also contains two APIs which are being deprecated. Users are advised not to use them. On usage of these APIs, refer to xpm_conter_example.c file which is available in the standalone/examples folder.
Type | Name | Arguments |
---|---|---|
void | Xpm_SetEvents |
|
void | Xpm_GetEventCounters |
|
u32 | Xpm_DisableEvent |
|
u32 | Xpm_SetUpAnEvent |
|
u32 | Xpm_GetEventCounter |
|
void | Xpm_DisableEventCounters |
|
void | Xpm_EnableEventCounters |
|
void | Xpm_ResetEventCounters |
|
void | Xpm_SleepPerfCounter |
|