Args

Args

 

The VSPerfCmd.exe Args option specifies a list of arguments that are passed to the target application of the Launch subcommand.

Args can only be used when Launch is also specified on the command line. Args is optional when Launch is specified.

VSPerfCmd.exe /Launch:AppName /Args:Arguments [Options]

Arguments

A list of arguments to the target application of the Launch command.

Launch:AppName

Starts the specified application and begins profiling with the sampling method.

Example

The following example uses the Args option to pass arguments to TestApp.exe.

VSPerfCmd.exe /Start:Sample /Output:TestApp.exe.vsp
VSPerfCmd.exe /Launch:TestApp.exe /Args:"123, 'Hello World'"
Show:
© 2016 Microsoft