Searched refs:heap_trace_record_t (Results 1 – 8 of 8) sorted by relevance
/hal_espressif-3.6.0/components/heap/ |
D | heap_trace_standalone.c | 36 static heap_trace_record_t *buffer; 54 esp_err_t heap_trace_init_standalone(heap_trace_record_t *record_buffer, size_t num_records) in heap_trace_init_standalone() 61 memset(buffer, 0, num_records * sizeof(heap_trace_record_t)); in heap_trace_init_standalone() 109 esp_err_t heap_trace_get(size_t index, heap_trace_record_t *record) in heap_trace_get() 120 memcpy(record, &buffer[index], sizeof(heap_trace_record_t)); in heap_trace_get() 135 heap_trace_record_t *rec = &buffer[i]; in heap_trace_dump() 174 static IRAM_ATTR void record_allocation(const heap_trace_record_t *record) in record_allocation() 191 memmove(&buffer[0], &buffer[1], sizeof(heap_trace_record_t) * (total_records -1)); in record_allocation() 195 memcpy(&buffer[count], record, sizeof(heap_trace_record_t)); in record_allocation() 245 sizeof(heap_trace_record_t) * (total_records - index - 1)); in remove_record() [all …]
|
/hal_espressif-3.6.0/components/heap/test/ |
D | test_heap_trace.c | 24 heap_trace_record_t recs[8]; 43 heap_trace_record_t trace_a, trace_b; 72 heap_trace_record_t recs[N]; 87 heap_trace_record_t rec; 108 heap_trace_record_t rec; 141 heap_trace_record_t recs[N];
|
/hal_espressif-3.6.0/components/heap/include/ |
D | esp_heap_trace.h | 46 } heap_trace_record_t; typedef 63 esp_err_t heap_trace_init_standalone(heap_trace_record_t *record_buffer, size_t num_records); 140 esp_err_t heap_trace_get(size_t index, heap_trace_record_t *record);
|
D | heap_trace.inc | 98 heap_trace_record_t rec = { 140 heap_trace_record_t rec = {
|
/hal_espressif-3.6.0/components/app_trace/ |
D | heap_trace_tohost.c | 67 esp_err_t heap_trace_get(size_t index, heap_trace_record_t *record) in heap_trace_get() 78 static IRAM_ATTR void record_allocation(const heap_trace_record_t *record) in record_allocation()
|
/hal_espressif-3.6.0/tools/unit-test-app/components/test_utils/ |
D | test_runner.c | 65 static heap_trace_record_t *record_buffer; in setUp() 67 record_buffer = malloc(sizeof(heap_trace_record_t) * num_heap_records); in setUp()
|
/hal_espressif-3.6.0/components/protocomm/test/ |
D | test_protocomm.c | 43 static heap_trace_record_t trace_record[NUM_RECORDS]; // This buffer must be in internal RAM
|
/hal_espressif-3.6.0/docs/en/api-reference/system/ |
D | heap_debug.rst | 194 static heap_trace_record_t trace_record[NUM_RECORDS]; // This buffer must be in internal RAM 262 …. Each additional stack frame increases the memory usage of each ``heap_trace_record_t`` record by…
|