ChorusOS 4.0 Introduction

Compiling the Application

If you require full report forms, the profiled components must be compiled using the performance profiling compiler options (usually, the -p option).

If you are using the imake environment provided with the ChorusOS operating system, you can set the profiling option in the Project.tmpl file if you want to profile the whole project hierarchy, or in each Imakefile of the directories that you want to profile if you want to profile only a subset of your project hierarchy. In either case, add the following line:


You can also add the performance profiling option dynamically by calling make with the compiler profiling option:

% make PROF=-p  

in the directory of the program that is to be performance profiled.