bill Posted June 28, 2006 Report Posted June 28, 2006 Hello,Does anyone have an idea on how to know how loaded the cpu is ???
TK. Posted June 28, 2006 Report 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.
mess Posted June 28, 2006 Report 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
stryd_one Posted June 29, 2006 Report Posted June 29, 2006 LOLThat was a clear description, sounds like you speak from experience ;D
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now