8.1 Stopwatch
Use the Stopwatch to determine the timing between two breakpoints.
Note: The Stopwatch uses
breakpoint resources.
To use the Stopwatch:
- Add a breakpoint where you want to start the Stopwatch.
- Add another breakpoint where you want to stop the Stopwatch.
- Select Properties icon on the left of the window and select the start and stop breakpoints. . Click on the
- Debug the program again to get the Stopwatch timing result.
The Stopwatch has the following icons on the left side of the window:
Icon | Icon Text | Description |
---|---|---|
Properties | Set Stopwatch properties. Select one current breakpoint or trigger to start the stopwatch and one to stop the stopwatch. | |
Reset Stopwatch on Run | Reset the stopwatch time to zero at the start of a run. | |
Clear History | Clear the Stopwatch window. | |
Clear Stopwatch | (Simulator Only) Reset the stopwatch after you reset the device. |