How to measure CPU runtime? Constantly getting 0

Hi Bryan,

Thanks for the answer, it helps me understand what is going on here. CPU time is very important to me, I specifically want to know the CPU time required for the PLECS process; it seems this cannot be measured directly? Your answer gives a list of wallclock times for each process, is it possible to get a list of CPU times for each process? I do not fully understand the framework so I may be misguided here.