Viewing Analysis Results
Prerequisites
A lock and wait analysis task has been created and the analysis is complete.
Procedure
- In the System Profiler area on the left, click the name of the target analysis task.
The node list is displayed.
- Click the name of the target node to view the analysis results.
- The Histogram Statistics tab page is displayed by default, as shown in Figure 1.
Move the mouse pointer over the histogram to view the statistics.
- Click the Lock Variable Analysis tab to see related analysis results, as shown in Figure 2. For details about the parameters, see Table 1.
- On the displayed tab page, you can use the drop-down lists and search box to filter data. The dimensions for data display in the rightmost drop-down list include Lock, Call stack, and Thread. You can enter multiple groups for search. Use semicolons (;) to separate multiple groups and commas (,) to separate elements in a group.
- Click
in the table header to sort the data. Click
at the end of the table header to filter the table header. - If the grouping mode is by lock, you can click the linked thread name or call stack name to view their association analysis data. In the Association Analysis area below, you can select an analysis dimension from the drop-down list. The similar operation applies when the grouping mode is by call stack or thread.
Table 1 Parameters on the Lock Variable Analysis tab page Parameter
Description
Avg. Duration (μs)
Average lock wait/holding duration.
Count
Number of lock wait/holding occurrences.
Total Duration (μs)
Total lock wait/holding duration.
Max. Duration (μs)
Maximum lock wait/holding duration.
95%
Duration of lock wait/holding that is longer than 95% of all lock wait/holding durations. Click View to display related data.
Waiting (%)
Percentage of lock waits in all lock events.
Holding (%)
Percentage of lock holding events in all lock events.
Lock Type
Type of the current lock.
- Click the Lock Snapshots tab to see related analysis results, as shown in Figure 3. For details about the parameters, see Table 2.
You can click
in the table header to search for data in fuzzy mode,
to filter the corresponding status,
to sort the displayed data, and
to display or remove the data in the corresponding column.Table 2 Parameters on the Lock Snapshots tab page Parameter
Description
Lock Variable Address
Address of the current lock variable.
Stack
Call stack.
Thread
Thread.
Lock Type
Lock variable type.
Lock Stage
Stage of the lock variable.
Lock Wait Duration (μs)
How long a lock is waited on.
Lock Wait Start Time
Point in time when threads start to wait on a lock.
Lock Request Times
Number of times that a lock is requested.
Lock Holding Duration
How long a lock is held.
Lock Holding Start Time
Point in time when a lock starts to be held.
- Click the Task Information tab to view the detailed configuration and sampling information about the task on the current node.
- If the task fails to be executed, the failure cause is displayed on the Task Information tab page.
- If some data fails to be collected but the overall task execution is not affected, you can view the exception message in Exception Information.
- Collection End Cause displays the reason why the data collection of the current task ends, for example, "Task collection times up" or "File size reaches the collection limit."
- The Histogram Statistics tab page is displayed by default, as shown in Figure 1.


