Merge pull request #4504 from geky/gt-add-reserved-memory-reporting

greentea: Add reporting of reserved heap
pull/4592/head
Jimmy Brisson 2017-06-19 11:03:30 -05:00 committed by GitHub
commit a6695ae5a8
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