Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: Performance Analysis
       [not found] <ADN.95Oct30085359@houblon.matra-dtv.fr>
@ 1995-10-31  5:00 ` Greg Lueck Development Environment
  0 siblings, 0 replies; only message in thread
From: Greg Lueck Development Environment @ 1995-10-31  5:00 UTC (permalink / raw)



You could try using some of these performance analysis tools.

	* Standard PC-sampling.  Relink your application with the "-p"
	  switch, and then rerun.  When your application exits, it
	  produces a mon.out file.  Run the "prof" postprocessor to view
	  a procedure-level profile of your application.

	  This technique uses random sampling to determine which
	  procedures are the most heavily executed.


	* Read the hardware performance counters -- uprofile.  In order
	  to use this tool, you must install the pfm driver into your
	  kernel.  The uprofile(1) manpage describes how to do this.
	  You do not need to compile or link you application with any
	  special switches.

	  Run your application under the "uprofile" command like this:

		% uprofile myapp [switches for myapp]

	  When the process exits, it creates a umon.out file.  Run the
	  "prof" postprocessor to view a procedure-level profile of your
	  application.  By default uprofile measures CPU time, but you
	  can measure other things like cache misses, etc.  See the
	  uprofile(1) and pfm(7) manpages for more details.


	* Hierarchical PC-sampling -- gprof.  This option is only
	  supported on V1.3B and later of the C++ compiler.  Recompile
	  and relink your application with the "-pg" switch.  Then rerun
	  the application.  When it finishes, it produces a gmon.out
	  file.  Run the "gprof" postprocessor to view a hierarchical
	  profile of your application.  This profile shows the time
	  spent in each procedure as well as the time spent in each
	  parent and each descendent of each procedure.

I hope this gives you some more options.

-- 
-------------------------------------------------------------------------------
Greg Lueck                              Opinions expressed herein are my own.
lueck@zk3.dec.com
-------------------------------------------------------------------------------
-- 
-------------------------------------------------------------------------------
Greg Lueck                              Opinions expressed herein are my own.
lueck@zk3.dec.com
-------------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-10-31  5:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <ADN.95Oct30085359@houblon.matra-dtv.fr>
1995-10-31  5:00 ` Performance Analysis Greg Lueck Development Environment

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox