Performance profiling settings
You can configure the performance profiling settings before running your application in Rational® Test RealTime for Studio.
Configuration Settings
All the following options must be set from the Configuration Settings window. To open this window:
- In the Project Window, right-click on the project and select Settings.
- Enable the Performance Profiling
-
- In the Configuration Settings window, in the left panel, click Configuration properties > Build > Build options.
- In the right pane, click the Value field in Build options and click ... to open the Build options window.
- In the Build options list, click Performance Profiling to enable the feature.
- Generate a trace file
-
- In the Configuration Settings window, in the left panel, click Configuration properties > Runtime analysis > Performance Profiling.
- In the right panel, click in the value field of the Trace file name (.tqf) line option, and click .... In the editor window that opens, specify a filename for the generated .tqf trace file for performance profiling.
To get an evaluation of the Worst Case Execution Time in the report, you must set the WCET option.
- Select the Worst Case Execution Time and/or the maximum execution time for each function and descendants:
-
- In the Configuration Settings window, in the left panel, click Configuration properties > Runtime analysis > Performance Profiling.
- In the right pane, click Compute F max and F+D max time and select a value
depending on the execution time that you want to be calculated for your
project:
- No: Does not calculate the maximum execution time for each function and descendants.
- Yes: Calculate the maximum execution time for each function and its descendants.
- Yes + WCET: Calculate the maximum execution time for each function and descendants, and the Worst Case Execution Time. With this option selected, the report indicates the number of time a function is called.
To get the performance profiling per entry point, you must enter the list of entry point threads of your application.
- Entry points
- To get the performance profiling per entry point, you must enter the list of entry points for each thread of your application.
Then, run the application and see the Performance report.