How to: Filter Reports from the Command Line

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.