| |||
| Home > Analyzing Trace with the Analysis Window > Viewing the captured trace > Calculating the time between two points | |||
You can calculate the time between two points:
between a selected line and the current line
between the trigger point and the current line.
To calculate the time from a selected line to the current line:
Select the line of trace representing the starting point from which you want to measure.
Right-click on the row representing the finishing point for the measurement.
Select Time Measure from Selected... from the context menu to display the Prompt dialog box. Figure 9.4 shows an example:
You can display the time or number of cycles from the trigger to the selected line, depending on the Scale Time Units setting. To do this:
If required, change the value of Scale Time Units:
for targets with an ETM, the default is a time unit (Nanoseconds)
for simulators, the default is cycles.
Right-click on the row representing the finishing point for the measurement to display the context menu.
Select Time Measure from Trigger from the context menu to display the Prompt dialog box. Figure 9.5 shows an example: