esp_apptrace_rb_read_size_get() function
Gets size of memory which can consumed with single call to esp_apptrace_rb_consume().
Arguments
rb
Pointer to ring buffer structure.
Return value
Size of memory which can consumed.
Notes
Due to read pointer wrapping returned size can be less then the total size of available data.
![]()
uint32_t sz = esp_apptrace_rb_read_size_get(&proto->rb_down);
esp_apptrace_rb_read_size_get() is called by 1 function:
![]()
esp_apptrace_rb_read_size_get()
esp_apptrace_rb_read_size_get() reads 3 variables:
![]()
esp_apptrace_rb_read_size_get()