Introduction to the profiler

The MULTI profiler ("the profiler") is a tool that gathers important data about the execution of your program. This data can greatly improve the performance of existing programs.

To compile a program with one or more of the profiling options:

  1. From the Builder window, choose Project > Options for Selected Files...
  2. Set the Performance Analysis and the Coverage Analysis drop-down list boxes. They set the profiling options for the compiler.

The Performance Analysis drop-down list box contains the Functions and Graph options mentioned below. These options are equivalent to the -p and -pg compiler options. Coverage Analysis is equivalent to compiling with the -a compiler option.

Support for profiling and the steps necessary to collect profile data may vary depending on your target environment. Please consult the Profiling Targets section of this Chapter and your target's Development Guide for additional target-specific information on using the profiler.

Related topics:


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.