CPU Meter

So, I just saw ran across this cool LED matrix…

But what really caught my attention was the dialog that shows CPU % usage. How is it they can get this on an Arduino but we can’t with NETMF?!!!

Detecting CPU usage is easy when there isn’t an OS running on the chip. Then you can just add up all the times when the chip is idle and voila!

But on MF there is a lot of background activity…

Is there in fact a way to get CPU/memory usage on the Panda or other ghi devices?

Is there in fact a way to get CPU/memory usage on the Panda or other ghi devices?

+1 vote.

For free mem use this:

uint freemem = Debug.GC(false);