background image
<< Working with Rational Rose RealTime | Collecting Trace Dump Data >>
<< Working with Rational Rose RealTime | Collecting Trace Dump Data >>

To activate Runtime Analysis features

Working with Other Development Tools
To activate Runtime Analysis features:
1.
From Rose RealTime, open the Component Specification of the components that
you want to observe and select the C++ TestRT tab.
2. Select
Enable Component Instrumentation.
3.
In the Coverage section, select the code coverage type
4. Select
Enable Memory Profiling, Enable Performance Profiling and Enable
Runtime Tracing to specify the Runtime Analysis features that you want to
activate. The Additional Options box allows you to add other options to the
Instrumentation Launcher command line.
5. Activate
Add Target Deployment Port Object Files if you want to link the
selected 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
<InstallD r>
\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.
i
6. Select
Support Multi-threaded Code Generation if necessary. Optionally, you
can enter a new location and file name for the trace file in Output Trace File
Name. By default,
<model directory>
\atlout.spt is used.
7. Click
OK.
8.
In Rose RealTime, from the Tools menu, select Rational Test RealTime, and
Enable Instrumentation of Selected Components. You must repeat this
operation whenever you change any of the options described above.
To run a build with the runtime analysis features:
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.
337