9.3.3. Calculating the time between two points

You can calculate the time between two points:

Time between a selected line and the current line

To calculate the time from a selected line to the current line:

  1. Select the line of trace representing the starting point from which you want to measure.

  2. Right-click on the row representing the finishing point for the measurement.

  3. Select Time Measure from Selected... from the context menu to display the Prompt dialog box. Figure 9.4 shows an example:

    Figure 9.4. Time measurement from selected line dialog box

    Time measurement from selected line dialog box

Time between the trigger point and the current line

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:

  1. 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.

  2. Right-click on the row representing the finishing point for the measurement to display the context menu.

  3. Select Time Measure from Trigger from the context menu to display the Prompt dialog box. Figure 9.5 shows an example:

    Figure 9.5. Time measurement from trigger dialog box

    Time measurement from trigger dialog box

See also

Copyright © 2006-2010 ARM Limited. All rights reserved.ARM DUI 0322F
Non-ConfidentialID102410