Performance profiling settings

You can configure the performance profiling settings before running your application in HCL OneTest™ Embedded for Eclipse IDE.

Build settings

All the following options must be set from the Build settings tab in the Properties window. To open this tab:
  • In the Project Explorer, right-click on the project and click Properties.
  • In the Properties window, click C C++ Build > Settings.
Enable the Performance Profiling
  • In the Build Settings tab, click Settings > General > Selective instrumentation.
  • 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 Build Settings tab, click Settings > Performance profiling.
  • In Trace file name (.tqf), click ... to open the editor window and 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 Build Settings tab, click Settings > 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.
  • In the Build Settings tab, click General > Multi-thread options.
  • Click ... to open the editor and enter the list of entry points for each thread of your application . Use commas to separate the thread names.

Then, run the application and see the Performance report.

Feedback