#include <itrace_types.h>
Public Attributes | |
uint32_t | event_id |
itrace_processing_mode_t | processing_mode |
itrace_stid_t | stid |
uint64_t(* | client_method )(void *client_handle) |
void * | client_handle |
itrace_registration_status_t | status |
Profiling event
Event definitions are domain-specific.
For the DSP, the event_id may be the id of a predefined event type defined in DSP PMU event definitions, Non-PMU DSP event definitions, and CPU event definitions. Alternatively, it may be a PMU opcode.
On any domain, the user may also define a custom event by setting the event_id to ITRACE_DSP_EVENT_CUSTOM
. When this is the case, the client needs to provide the implementation (client_method) and its corresponding context handle (client_handle).
In an itrace output, event names are displayed in the following format: [id]:[name]:[processing_mode]. Each of these fields may be ommitted if unknown or irrelevant. Valid processing mode values are 's', 'e', 'd', and 'd/t'. See itrace_processing_mode_t for more details.
void* itrace_event_t::client_handle |
Client-provided event handle
uint64_t(* itrace_event_t::client_method) (void *client_handle) |
Client-provided event counting method
uint32_t itrace_event_t::event_id |
Event id supported by the profiling library
itrace_processing_mode_t itrace_event_t::processing_mode |
Event post-processing mode
itrace_registration_status_t itrace_event_t::status |
Registration status
itrace_stid_t itrace_event_t::stid |
STID association