Make microbit_heap_print() available externally
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
This commit is contained in:
parent
94fa768a8f
commit
3e37cc9c4e
1 changed files with 1 additions and 0 deletions
|
@ -83,5 +83,6 @@ struct HeapDefinition
|
|||
* simply use the standard heap.
|
||||
*/
|
||||
int microbit_create_heap(uint32_t start, uint32_t end);
|
||||
void microbit_heap_print();
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue