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:
From the Windows [Start] menu, launch CS+.
Read the project to be analyzed.
Select the type of debug tool to be used for the analysis of the execution status of the processing program.
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.
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. |
Download the load module to be analyzed to the debug tool.
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 File Settings] tab >> [Download] category >> [Download files] >> [[n]] >> [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 .
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.
Set breakpoints on the starting and ending positions of a trace interval to be analyzed for the load module.
Execute the load module to the trace starting position.
When the execution of the load module is started, set a trace start event by which CS+ acquires trace data.
Execute the load module to the trace ending position.
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 real-time OS resource usage, the CPU usage status, etc.
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. |
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. |
|
Does not update the analysis information which is displayed in the Child-panel display area when the execution of the load module stops. |
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. |