openxc / vi-firmware

OpenXC-compatible firmware for PIC32 and LPC1768
http://vi-firmware.openxcplatform.com
BSD 3-Clause "New" or "Revised" License
197 stars 105 forks source link

Gather runtime performance statistics #163

Open tgiuli opened 11 years ago

tgiuli commented 11 years ago

It would be good to know:

peplin commented 11 years ago
tgiuli commented 11 years ago

Hmm, regarding RAM, would we be able to get this if we run with full JTAG debugging?

peplin commented 11 years ago

Not that I've seen, and if you think about it that makes sense - without an OS running, what else would be keeping track of free/reserved/allocated memory?

tgiuli commented 11 years ago

Yup, good point. Is it possible that using JTAG we could see malloc's data structures and know how much memory had been allocated? I definitely take your point about not having an OS managing pages, but I would hope that memory profiling would be a common enough desire in an embedded context on the LPC that our toolchain might support this?