If you are looking for software to use, go to Huajun Software Park! software release
Location: front pageTutorial strategyTutorialComputer software tutorials How about Keil5...

How to use Keil5 - Detailed explanation of how to use Keil5 to display program running time

Author: Neal Date: 2020-10-29

Keil5
Keil5-v5.35 latest version

programming tools Storage: 1018.21MB Time: 2021-08-25

Software introduction: Keil5 is a very friendly and powerful C language software development system. Keil5 software provides users with a clear and intuitive operation interface, which is relatively...

Download now

In the process of using Keil5, how to find the display program running time? Recently, many friends have come to consult, so now the editor will explain to you the detailed method of using Keil5 to display the program running time. Friends who don’t know how to do it can do it. Come and learn.

First, run Keil5 on your computer, open a project, and click on the red box in the picture below.

How to find display program running time in Keil uVision5

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.

How to find display program running time in Keil uVision5

Then click Debug, select software simulation, and check "Use Simulator", and that's it.

How to find display program running time in Keil uVision5

Then click to start debugging, as shown in the picture!

How to find display program running time in Keil uVision5

In the red box below, you can check the running time of the program under "Internal".

How to find display program running time in Keil uVision5

You can choose "single process" or "single statement" debugging here.

How to find display program running time in Keil uVision5

If it is no longer needed, click again to return to the original interface!

How to find display program running time in Keil uVision5

The above is a detailed explanation of how to use Keil5 to display the running time of a program as explained by the editor. I hope it can help everyone solve the problem.

Related articles