The Execution Profiler records timing and execution
statistics about instructions for the complete program code. To
display the values, use Show Time or Show Calls from
the menu Debug — Execution Profiling. The values are displayed
in the Editor and Disassembly Window.
Hover with the mouse over a value to view the complete
information in a tool-tip window.
Use the editor's Outlining features to collapse source code
lines. Single instruction statistics are summarized and are
displayed as one value for this block.
Note
Enable the option ETM Trace Enable when debugging on
hardware.
The execution time is calculated based on the current Xtal (MHz) clock setting. When the code is
executed multiple times using different execution clock values,
incorrect statistics are generated.
The Execution Profiler is available for the MDK-ARM toolchain
only.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.