We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
HELLO,
I AM BEGINNER TO RTX KEIL. I WROTE A PROGRAM FOR MAILBOX TESTING. NOW I WANT TO CHECK THE CPU UTILIZATION FOR MY PROGRAM. HOW CAN I DO THIS ?
You could also do it properly not a beginner way, if the chip you are using is simulated you could look into performance analyzer and if it is not simulated you would need ULINKpro and trace to do that same thing. Performance analyzer shows you how much of CPU time the processor spent in each function.
Just that many systems are very hard to simulate, because they depend on external stimuli that you don't want to try to recreate using debugger scripts.
And not all processors supports the ULINKpro trace function.
So the "beginner way" is often the only available way.
The important thing here is that there is a big difference between checking CPU utilization, and checking actual response times (hard real-time requirements) for actual threads in relation to actual events.