bill Posted June 28, 2006 Report Share Posted June 28, 2006 Hello,Does anyone have an idea on how to know how loaded the cpu is ??? Quote Link to comment Share on other sites More sharing options...
TK. Posted June 28, 2006 Report Share Posted June 28, 2006 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 loadBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
mess Posted June 28, 2006 Report Share Posted June 28, 2006 when mios reboots because your tick() routine takes too long so that mios can't reset the watchdog in timeyou know CPU load is too high ;D Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 29, 2006 Report Share Posted June 29, 2006 LOLThat was a clear description, sounds like you speak from experience ;D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.