How to use Keli uVision 5 to find program running time? PHP editor Xinyi will provide you with a solution to this problem. This article will guide you step by step on how to accurately measure the time required for program execution with Keli uVision 5, helping you optimize and improve the efficiency of your code. Please read on for detailed instructions and examples.
First, set the size of the crystal oscillator in the software. According to your own needs, the crystal oscillator value should be the same as the crystal oscillator value in your development board, so that there is a comparison effect.
Then click Debug, select software simulation, check [Use Simulator], and that’s it!
Then click to start debugging, as shown in the picture!
In the red box below, you can view the running time of the program at [Internal]
You can select [Single Process] or [Single statement] Debugging!
If you no longer need it, click again to return to the original interface!
The above is the detailed content of How to find and display program running time using Keil uVision 5. For more information, please follow other related articles on the PHP Chinese website!