![]() |
nRF Connect SDK API 3.3.99
|
| void nrf_profiler_log_send | ( | struct log_event_buf * | buf, |
| uint16_t | event_type_id ) |
#include <include/nrf_profiler.h>
Send data from the buffer to the host.
This function only sends data that is already stored in the buffer. Use nrf_profiler_log_encode_uint32, nrf_profiler_log_encode_int32, nrf_profiler_log_encode_uint16, nrf_profiler_log_encode_int16, nrf_profiler_log_encode_uint8, nrf_profiler_log_encode_int8, nrf_profiler_log_encode_string or nrf_profiler_log_add_mem_address to add data to the buffer.
| event_type_id | Event type ID as assigned to the event type when it is registered. |
| buf | Pointer to the data buffer. |