Everything

2.1 Overview

The task analyzer tool can be used to verify analysis information (the state of processing program execution, the state of real-time OS resource usage, the CPU usage status, etc.) that dynamically changes according to the state of execution of the processing program.
The task analyzer tool requires the following operating procedure:
(1) Start CS+
From the Windows [Start] menu, launch CS+.
Remark For details on "Start CS+", see the "CS+ Project Operation".
(2) Read a project
Read the project to be analyzed.
Remark For details on "Read a project", see the "CS+ Project Operation".
(3) Select debug tool
Select the type of debug tool to be used for the analysis of the execution status of the processing program.
Remark For details on "debug tool", see the "CS+ RX Debug Tool".
(4) Verify the trace mode
Verify that the settings in the [Selection of trace mode] on the [Task Analyzer] tab on the Property panel match the settings that were specified when the load module was generated.
Remarks 1. For details on the "[Task Analyzer] tab", see the "RI600V4 Coding".
2. When generating a load module, CS+ references the content of the [Selection of trace mode] settings and generates a load module that is optimal for the trace mode.
(5) Download the load module
Download the load module to be analyzed to the debug tool.
Remarks 1. For details on "Download the load module," see the "CS+ RX Debug Tool".
2. The task analyzer tool performs various types of analysis using the symbol information that is embedded in the load module. Therefore, downloading the load module to be analyzed requires that "Yes" is set in [Download] >> [Download files] >> [[0]] >> [Download symbol information] on the [Download File Settings] tab on the Property panel.
Open the Realtime OS Task Analyzer panel that displays analysis information (the state of processing program execution, the state of real-time OS resource usage, the CPU usage status, etc.).
When opening this panel, make sure the mark located at the right edge of the Status bar is set to .
Remark If the Status bar mark is , it is an indication that the task analyzer tool is in a condition where it cannot perform various types of analysis.
The reason that the mark is set to can be checked from the tool tip which is displayed when the mouse cursor is placed on the mark.
(7) Set breakpoints
Set breakpoints on the starting and ending positions of a trace interval to be analyzed for the load module.
Remark For details on "Set breakpoints", see the "CS+ RX Debug Tool".
(8) Execute load module
Execute the load module to the trace starting position.
Remark For details on "Execute the load module", see the "CS+ RX Debug Tool".
When the execution of the load module is started, set a trace start event by which CS+ acquires trace data.
(10) Execute load module
Execute the load module to the trace ending position.
Remark For details on "Execute the load module", see the [CS+ RX Debug Tool].
(11) Verify analysis information
The analysis information obtained through the operations described in Steps (7) to (10) is displayed in the Child-panel display area on the Realtime OS Task Analyzer panel.
From the content of the display, verify items such as the state of processing program execution, the state of realtime OS resource usage, the CPU usage status, etc.
Remarks 1. Updating timing for the analysis information which is displayed in the Child-panel display area on the Realtime OS Task Analyzer panel can be selected from the drop-down list located on the Toolbar.
The newest (Update)
Updates the analysis information which is displayed in the Child-panel display area when the execution of the load module stops or when this item is selected.
Not update
Does not update the analysis information which is displayed in the Child-panel display area when the execution of the load module stops.

2. Units of time displayed in the Child-panel display area on the Realtime OS Task Analyzer panel (such as Total Execution Time, and Average Execution Time) can be selected from the drop-down list located on the Toolbar.
s
by the second
ms
by the millisecond
us
by the microsecond