Analyzing transaction threadsafe characteristics

You can analyze the CPU time for one or more threadsafe Transaction IDs and display the output as a pie chart or a bar chart.

Pie charts

Pie charts are displayed in the Transaction detail view and show detailed information about a single transaction ID.

To display a Transaction detail view, see the Pie charts section in the Analyzing data topic.

The following screen capture shows the Transaction detail view with the Threadsafe pie chart selected, and showing detailed CPU time information for the selected transaction ID. The Transaction detail view displays a pie chart for each type of analysis. Each analysis can be selected by clicking the relevant pie chart.

A screen capture showing the pie charts for a single transaction, with the CPU time chart selected

The Threadsafe analysis displays the following information:
  • A summary of the threadsafe transactions in the time period chosen. In the example screen capture, the summary shows the following information:
    • 2 transactions for transaction ID CESN occurred during the selected time period.
    • An average of 5 TCB mode switches occurred during the selected time period.
    • Two RMI requests during the selected time period.
    • No File control requests during the selected time period.
    • No MQ requests during the selected time period.
    • No DB2® requests during the selected time period.
  • A pie chart consisting of up to four sectors, one for each CPU time field: Miscellaneous TCB CPU time, CICS® Key 9 TCB CPU time, CICS Key 8 TCB CPU time and QR TCB CPU time. Any fields that are zero will not be displayed in the pie chart.
  • A table containing a list of the time fields in the view, their values, their percentage of the total CPU time, their percentage relative to the immediate parent, and a further breakdown of the fields. When you click a sector in the pie chart, the relevant entry in the table is highlighted.

By selecting one or more of the check boxes in the view you can choose to hide irrelevant data from the table.

Note: The values displayed in the table are the actual values from the csv file. Because of rounding errors when the data was captured, the sum of the detail might not match the total value. In addition, the percentage figures might not total 100% because of rounding errors.
Some of the CPU time fields break down into the following further fields:
  • Miscellaneous TCB CPU time breaks down into RO and CPU time.
  • CICS Key 9 TCB CPU time breaks down into S9, L9 and X9 CPU time. These fields are shown as separate segments in the key 9 sector.
  • CICS Key 8 TCB CPU time breaks down into S8, L8 and X8 CPU time.
  • QR TCB CPU time does not break down any further.

Bar charts

Bar charts show summary information for multiple transaction IDs. The transaction IDs are displayed in the order in which they are shown in the selection.

To display a Threadsafe bar chart, see the Bar charts section in the Analyzing data topic.

The following screen capture shows a Threadsafe bar chart view containing fourteen different transaction IDs.

A screen capture showing a Threadsafe bar chart containing fourteen transaction IDs.

The chart displays the following information:
  • A view title, containing the name of the analysis; in this case, Threadsafe.
  • An information bar in the view, containing the path and name of the CSV or database file that contains the data.
  • Stacked bars consisting of one bar for each transaction ID selected. Each bar in a stack consists of one or more sectors, each representing a different time field. You can hover over a sector to show the average time value for the CPU time field.
  • A threadsafe icon The threadsafe icon for every threadsafe transaction ID, showing the number of TCB mode switches.
  • A Legend icon The legend icon in the chart. Click this icon to display the chart legend.

You can use the zoom bar in the chart to change the time scale on the Y-axis to show more detail.

You can perform further analysis on a single transaction ID by selecting a stacked bar, right-clicking and clicking Performance history > Detail breakdown in the pop-up menu. The new information displays as a pie chart in the Transaction detail view.

Alternatively, you can select multiple transaction IDs using the shift or Ctrl keys. Right-click the selection and click one of the options in the pop-up menu. A new bar chart is displayed containing only the selected transaction IDs.