Champs,
I hazard posting this here; because it's almost more of an RTOS question; BUT, the simple link RTOS is a little different... so...
Does anyone know of a way to monitor the heap utilization for the SYSBIOS RTOS in realtime? For the BLE stack, there's a really cool way enable some debug and you can see what the stack is doing; but I am trying to do the same for the SYSBIOS heap? Normally, I would have used something like HeapMem_getStats- which would be fine, except the prototype for that call is:
HeapMem_getStats((HeapMem_Handle)heapMemStruct, *xdc_runtime_Memory_Stats);
Again, this is fine, but, what is the name of the heapMemStruct for the SYSBIOS heap? Or, if there's some other magic way to do this; please advise; all I'm trying to do is output the amount of free memory still available on the heap every few seconds so I can look for leaks.