nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_profiler_register_event_type()

uint16_t nrf_profiler_register_event_type ( const char *  name,
const char *const *  args,
const enum nrf_profiler_arg arg_types,
uint8_t  arg_cnt 
)

#include <include/nrf_profiler.h>

Register an event type.

Note
This function is thread-safe, but not safe to use in interrupts.
Parameters
nameName of the event type.
argsNames of data values sent with the event.
arg_typesTypes of data values sent with the event.
arg_cntNumber of data values sent with the event.
Returns
ID assigned to the event type.