Using PROFILE
The syntax for calling PROFILE is:
profile [/a] [/innn] [/k] name-of-image [parameters]
PROFILE has the following command-line options.
-
/a
-
Display all functions or addresses that were sampled.
-
/bnnn
-
Set the sample address granularity. Set profile bucket size to 2**nnn bytes. The default setting is 4 bytes.
-
/ffilename
-
Send the output to the file named filename. The default setting is PROFILE.OUT.
-
/innn
-
Set sample interval to nnn (in 100-nanosecond units). The default value is 488.2 microseconds (/i4882).
-
/k
-
Allow profiling of the kernel-mode functions called by the application being profiled.
-
/sprofilesource
-
Use profilesource as the profile interrupt source instead of clock interrupt. This option is not supported on all platforms. The supported platforms and options are listed following.
Platform |
Options |
ALPHA |
align
branchinstructions
branchmispredicts
dcachemisses
icachemisses
loadinstructions
pipelinedry
pipelinefrozen
totalnonissues
storeinstructions
totalissues |
MIPS |
align |
-
/Sprofilesource
-
Use profilesource as the secondary profile interrupt source. The options are the same as those specified for the /s option.