lancaster-university / microbit-dal

http://lancaster-university.github.io/microbit-docs
Other
254 stars 130 forks source link

Make microbit_heap_print() available externally #391

Closed jaustin closed 5 years ago

jaustin commented 5 years ago

The heap printing in MicrobitHeapAllocator is really useful for gauging how much memory is free at various points in the program.

Specifically, by calling this after the uBit object is created we can start to measure a high-water-mark for RAM and track it over releases, etc

finneyj commented 5 years ago

yep.