Profiling shared libraries

Runtime Analysis

In order to perform runtime analysis on a shared library, you must create an application node containing both a small program that uses the library, and a reference link to the library.

After the execution of the application node, the runtime analysis results are located in the application node.

To profile a shared library:

  1. Add the library to your project as described in Using library nodes.

  2. Create an empty application node:

  3. Inside the application node, create a source file containing a short program that uses the shared library.

  4. Link the application node to the shared library:

  5. Select the application node, click the Settings button, and set the Build options to include the runtime analysis tools that you want to use.

  6. Build and execute the application node.

Example

An example demonstrating how to use Runtime Analysis tools on shared libraries is provided in the Shared Library example project. See Example projects for more information.

Related Topics

Using library nodesTesting shared librariesSelecting Build Options for a Node