Home
last modified time | relevance | path

Searched refs:cur_size (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-3.6.0/components/app_trace/
Dapp_trace_util.c114 rb->cur_size = rb->wr; in esp_apptrace_rb_produce()
117 if (rb->rd == rb->cur_size) { in esp_apptrace_rb_produce()
119 if (rb->cur_size < rb->size) { in esp_apptrace_rb_produce()
120 rb->cur_size = rb->size; in esp_apptrace_rb_produce()
149 if (rb->rd + size > rb->cur_size) { in esp_apptrace_rb_consume()
151 } else if (rb->rd + size == rb->cur_size) { in esp_apptrace_rb_consume()
153 if (rb->cur_size < rb->size) { in esp_apptrace_rb_consume()
154 rb->cur_size = rb->size; in esp_apptrace_rb_consume()
172 size = rb->cur_size - rb->rd; in esp_apptrace_rb_read_size_get()
Dapp_trace_membufs_proto.c199 proto->rb_down.cur_size, size); in esp_apptrace_membufs_down_buffer_write_nolock()
237 …alloc pend buf 1: w-r-s %d-%d-%d!", proto->rb_pend.wr, proto->rb_pend.rd, proto->rb_pend.cur_size); in esp_apptrace_membufs_wait4buf()
248 …alloc pend buf 2: w-r-s %d-%d-%d!", proto->rb_pend.wr, proto->rb_pend.rd, proto->rb_pend.cur_size); in esp_apptrace_membufs_wait4buf()
/hal_espressif-3.6.0/components/app_trace/include/
Desp_app_trace_util.h102 volatile uint32_t cur_size; ///< current size of data storage member
117 rb->size = rb->cur_size = size; in esp_apptrace_rb_init()