To collect performance data for a C or C++ program, instrument and run your program:
Compile and link the
program under Quantify using the -g debugging option:
% quantify cc -g hello_world.o
or, if you compile and link at the same time:
% purecov cc -g <myprog>.c
Note that you can modify your existing test scripts and makefiles
to compile and link your program under
Quantify for automated testing. For more information click
Run the instrumented program as you usually do:
% a.out
As you exercise your code, Quantify records data about its performance. When you exit your program, Quantify transmits the data to its data analysis program qv, displays a performance summary, and opens the Quantify Control Panel, which gives you access to Quantify's data analysis windows.
The next step in using Quantify is to analyze the performance data.
Collect performance data for Java applications running on a Solaris SPARC 32-bit Java virtual machine (JVM). For information, click
Call Quantify API functions from your program to pause and resume data recording at any time, enabling you to profile specific portions of code.
Customize profiling using Quantify's advanced features and options.
Save Quantify output to file.