Go to main content
Oracle® Developer Studio 12.5: Performance Analyzer Tutorials

Exit Print View

Updated: June 2016
 
 

Setting Up the lowfruit Sample Code

Before You Begin:

  1. Copy the contents of the lowfruit directory to your own private working area with the following command:

    % cp -r OracleDeveloperStudio12.5-Samples/PerformanceAnalyzer/lowfruit directory

    where directory is the working directory you are using.

  2. Change to that working directory.

    % cd directory/lowfruit
  3. Build the target executable.

    % make clobber
    
    % make

    Note -  The clobber subcommand is only needed if you ran make in the directory before, but safe to use in any case.

    After you run make the directory contains the target program to be used in the tutorial, an executable named lowfruit.

    The next section shows how to use Performance Analyzer to collect data from the lowfruit program and create an experiment.


Tip  -  If you prefer, you can edit the Makefile to do any of the following: use the GNU compilers rather than the default of the Oracle Developer Studio compilers; build in 32-bits rather than the default of 64-bits; and add different compiler flags.