|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
#include <los_perf.h>
成员变量 | ||
| UINT32 | type | |
| struct { | ||
| UINT32 eventId | ||
| UINT32 period | ||
| } | events [7] | |
| UINT32 | eventsNr | |
| BOOL | predivided | |
perf configuration sub event information
This structure is used to config specific events attributes.
| UINT32 PerfEventConfig::eventId |
the specific event corresponds to the PerfEventType
| struct { ... } PerfEventConfig::events[ 7 ] |
perf event list
| UINT32 PerfEventConfig::eventsNr |
total perf event number
| UINT32 PerfEventConfig::period |
event period, for every "period"th occurrence of the event a sample will be recorded
| BOOL PerfEventConfig::predivided |
whether to prescaler (once every 64 counts), which only take effect on cpu cycle hardware event
| UINT32 PerfEventConfig::type |
enum PerfEventType