Before You Begin:
See the following for information about obtaining the code and setting up your environment.
You might want to go through the introductory tutorial in Introduction to C Profiling first to become familiar with Performance Analyzer.
This tutorial uses the same mttest code as the tutorial Hardware Counter Profiling on a Multithreaded Program. You should make a separate copy for this tutorial.
Copy the contents of the mttest directory to your own private working area with the following command:
% cp -r OracleDeveloperStudio12.6-Samples/PerformanceAnalyzer/mttest directory
Replace directory with the working directory you are using.
Change to that working directory copy.
% cd directory/mttest
Build the target executable.
% make clobber % make
After you run make the directory contains the target application to be used in the tutorial, a C program called mttest.