Main Site Documentation

CPU Meter


#1

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?!!!


#2

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…


#3

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


#4

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

+1 vote.


#5

For free mem use this:

uint freemem = Debug.GC(false);