How to: Filter reports from the command line

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

By using options for the VSPerfReport command, you can filter reports to a specific time segment of the profiling data file or restrict the data to one or more processes or threads. For more information about this command, see VSPerfReport.

Options Description
StartTime:[Value] Only show data collected after value (in milliseconds.)
EndTime:[Value] Only show data collected before value (in milliseconds.)
FilterFile: VSPFFile Specifies the location of a filter file that was generated from the Visual Studio Performance Report window.
MsFilter:[StartTime,Duration] Only show data from StartTime until the length of Duration (in milliseconds.)
Process:[Pid] Only show data from the specified process.
Thread:[ThreadID] Only show data from the specified thread.
Thread:[ThreadID,ProcessID] Only show data from the specified thread that is associated with the specified process.