Share via


PROFILE (Compact 2013)

3/26/2014

This configuration option specifies whether Romimage.exe includes the profiler symbols in the run-time image.

Syntax

PROFILE = OFF | ON | ALL

Parameters

  • OFF
    By default, Romimage.exe does not include the profiler symbols in the run-time image.
  • ON
    Romimage.exe includes the profiler symbols in the run-time image, using an abbreviated C++ development system symbol name to conserve space in the run-time image.
  • ALL
    Romimage.exe includes the profiler symbols in the run-time image, using the complete C++ symbol name.

Remarks

When Romimage.exe includes profiler symbols in the run-time image, it creates a large table of strings that contains the names of all functions and variables inside the executable files which are listed in the MODULES section of ROM.

We recommend that you set PROFILE to OFF in run-time images built from the default Release configuration that you intend to ship. This is because the symbol table unnecessarily consumes ROM space in a ship run-time image, which does not require support for profiling.

Romimage.exe includes symbols from MODULES sections only, and not from FILES sections.

If symbols are not included in an executable file in the run-time image, the symbols are copied from the .map files associated with the executable files in the flat release directory.

See Also

Reference

CONFIG Section
Binary Image Builder (.bib) File