While running a multi-threaded system on coretx-M0+ using RTX, I want to measure percentage of time spent in each task on the CPU and time spent in idle task. Can anyone suggest a way to do that?
Sorry - you will want to replace these routines with your routines. Using the ITM is not going to do what you want. Or just use this as an example. It is making the calls in the locations that you want.