Skip to content

Commit 40957c1

Browse files
geky0xc0170
authored andcommitted
Added reporting of reserved heap
Note: Reporting of reserved stack is already performed by the thread layer
1 parent 8e76bf6 commit 40957c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

features/frameworks/greentea-client/source/greentea_metrics.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ static void send_heap_info()
7272
mbed_stats_heap_t heap_stats;
7373
mbed_stats_heap_get(&heap_stats);
7474
greentea_send_kv("max_heap_usage",heap_stats.max_size);
75+
greentea_send_kv("reserved_heap",heap_stats.reserved_size);
7576
}
7677

7778
#if defined(MBED_STACK_STATS_ENABLED) && MBED_STACK_STATS_ENABLED

0 commit comments

Comments
 (0)