Added reporting of reserved heap

Note: Reporting of reserved stack is already performed by the thread
layer
pull/4504/head
Christopher Haster 2017-06-08 11:30:39 -05:00 committed by Martin Kojtal
parent 8e76bf6da6
commit 40957c14b3
1 changed files with 1 additions and 0 deletions

View File

@ -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