Using Test RealTime with Rose RealTime

Before using IBM Rational Test RealTime as a Rose RealTime plug-in, you must first open or create a model within Rose RealTime.

Test RealTime can perform Source Code Insertion (SCI) instrumentation on several components.

Note   If you installed Rose RealTime after Test RealTime, you must manually install the plug-in. Please refer to the IBM Rational Test RealTime Installation Guide for further information.

To activate Runtime Analysis tools:

  1. From Rose RealTime, open the Component Specification of the components that you want to observe and select the C++ TestRT tab.

Enable the option if you want to link the selected Rose RealTime component with the TDP. This is required when producing an executable. For a library component, this depends on whatever components are linked to the library.

This option also adds a new version of cmdCommand.obj to the object file list if such a file exists in <InstallDir>\bin\intel\RoseRT\<TDP>, where <InstallDir> is the Test RealTime installation directory and <TDP> is the name of the current TDP. This object file dumps SCI traces when the user clicks on the Stop button in Rose RealTime.

  1. Click OK. The changes do not immediately affect the build and the CompilationMakeInsert function.

  2. In Rose RealTime, from the Tools menu, select Rational Test RealTime > Refresh Instrumentation to update the build and CompilationMakeInsert function. You must repeat this operation whenever you change any of the options described above.

To run a build with the runtime analysis tools:

  1. In Rose RealTime, click the Build Component button, or from the Build menu, select Build or Rebuild.

These commands generate the code and makefile, and launch the product instrumentation with the selected options.

To run the instrumented binary:

  1. Just like a standard Rose RealTime application, from the Build menu, select Run or click the Run button.

  2. Then, click Start and, when appropriate, Stop.

Related Topics

Generating Trace Dumps Collecting Trace Dump Data in Rose RealTime