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.
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.
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.
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.).
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.
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.
When the execution of the load module is started, set a trace start event by which CS+ acquires trace data.
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.
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.
|
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.