mirror of https://github.com/ARMmbed/mbed-os.git
Added reporting of reserved heap
Note: Reporting of reserved stack is already performed by the thread layerpull/4504/head
parent
8e76bf6da6
commit
40957c14b3
|
@ -72,6 +72,7 @@ static void send_heap_info()
|
|||
mbed_stats_heap_t heap_stats;
|
||||
mbed_stats_heap_get(&heap_stats);
|
||||
greentea_send_kv("max_heap_usage",heap_stats.max_size);
|
||||
greentea_send_kv("reserved_heap",heap_stats.reserved_size);
|
||||
}
|
||||
|
||||
#if defined(MBED_STACK_STATS_ENABLED) && MBED_STACK_STATS_ENABLED
|
||||
|
|
Loading…
Reference in New Issue