|
int | nrf_profiler_init (void) |
| Initialize the Profiler.
|
|
void | nrf_profiler_term (void) |
| Terminate the Profiler.
|
|
const char * | nrf_profiler_get_event_descr (size_t nrf_profiler_event_id) |
| Retrieve the description of an event type.
|
|
static bool | is_profiling_enabled (size_t nrf_profiler_event_id) |
| Check if profiling is enabled for a given 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) |
| Register an event type.
|
|
void | nrf_profiler_log_start (struct log_event_buf *buf) |
| Initialize a buffer for the data of an event.
|
|
void | nrf_profiler_log_encode_uint32 (struct log_event_buf *buf, uint32_t data) |
| Encode and add uint32_t data type to a buffer.
|
|
void | nrf_profiler_log_encode_int32 (struct log_event_buf *buf, int32_t data) |
| Encode and add int32_t data type to a buffer.
|
|
void | nrf_profiler_log_encode_uint16 (struct log_event_buf *buf, uint16_t data) |
| Encode and add uint16_t data type to a buffer.
|
|
void | nrf_profiler_log_encode_int16 (struct log_event_buf *buf, int16_t data) |
| Encode and add int16_t data type to a buffer.
|
|
void | nrf_profiler_log_encode_uint8 (struct log_event_buf *buf, uint8_t data) |
| Encode and add uint8_t data type to a buffer.
|
|
void | nrf_profiler_log_encode_int8 (struct log_event_buf *buf, int8_t data) |
| Encode and add int8_t data type to a buffer.
|
|
void | nrf_profiler_log_encode_string (struct log_event_buf *buf, const char *string) |
| Encode and add string to a buffer.
|
|
void | nrf_profiler_log_add_mem_address (struct log_event_buf *buf, const void *mem_address) |
| Encode and add the event's address in memory to the buffer.
|
|
void | nrf_profiler_log_send (struct log_event_buf *buf, uint16_t event_type_id) |
| Send data from the buffer to the host.
|
|