prof — Display Profile Data

Synopsis

/usr/ccs/bin/prof [-ChsVz][-a | c | n | t][-o | x][-g | l] 
  [-m mdata][prog] 

Description

The prof command interprets a profile file produced by the monitor function. The symbol table in the object file prog (a.out by default) is read and correlated with a profile file (mon.out by default). For each external text symbol, the percentage of time spent executing between the address of that symbol and the address of the next is printed, together with the number of times that function was called and the average number of milliseconds per call.

Notes

The times reported in successive identical runs can vary because of varying cache-hit ratios that result from sharing the cache with other processes. Even if a ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.