% prof executable_nameTo see the profile for processor m:
% prof executable_name mon.out.mTo see the profile average for all processors:
% prof executable_name mon.out.*For more information look at the man page on each platform (there are diffrerences).
% gprof executable_nameTo see the profile for processor m:
% gprof executable_name gmon.out.mTo see the profile average for all processors:
% gprof executable_name gmon.out.*For more information look at the man page on each platform (there are diffrerences).
% pixie executable_nameThat creates a new, instrumented, executable called executable_name.pixie. It also creates instrumented copies of any shared libraries you use (this takes up a lot of disk space).
% setenv LD_LIBRARY_PATH .:${LD_LIBRARY_PATH}
% prof -pixie executable_nameTo see the profile average for all processors:
% prof -pixie executable_name executable_name.Counts.*