Profiling from the Command Line
Feature Only in Professional and Enterprise Editions Profiling is supported only in Visual C++ Professional and Enterprise Editions. For more information, see .
You would issue the appropriate PROFILE, PREP, and PLIST commands from the command line if you need to issue nondefault PROFILE, PREP Phase II, or PLIST commands.
For example, you can only do function counting and line counting from the command line. You can create a tab-delimited profiler report, and you can do more sophisticated merging from the command line.
You can place all your profiling commands in a batch file, which is more convenient than simply issuing profiler commands at the command line.