Hello,
Does anyone have an idea on how to know how loaded the cpu is ???
Hello,
Does anyone have an idea on how to know how loaded the cpu is ???
Hi,
the PIC doesn’t provide special mechanisms for measuring the load (e.g. like performance counters), but you could just count the number of Tick() calls over a certain period (e.g. one second) - than higher the counter value, than less the load
Best Regards, Thorsten.
when mios reboots because your tick() routine takes too long
so that mios can’t reset the watchdog in time
you know CPU load is too high ;D
LOL
That was a clear description, sounds like you speak from experience ;D