Share via


VSPerfMon

You can use VSPerfMon tool to collect performance data for an application; typically this tool is launched by VSPerfCmd.exe. VSPerfMon displays additional information about process attach or detach which is not available by using the VSPerfCmd tool. To view this information, start VSPerfMon in a separate window. To invoke VSPerfMon use the following syntax:

VSPerfMon /option

The following table describes VSPerfMon tool options:

Options Description

OUTPUT:<file name>

Redirects output to the specified file name.

TRACE

Starts performance monitor for instrumented profiling.

SAMPLE

Starts the performance monitor for sampling profiling.

COVERAGE

Starts the performance monitor for code coverage collection.

USER:[domain\]username

Allows client access to the performance monitor from the specified account.

COUNTER:cfg

Specifies a performance counter to include in data collection. You can specify more than one counter.

cfg is counter configuration string with the following format:

  • Generic Counters

    g,counter_id[,initial_value[,name]]

  • Pentium 4 Counters

    p4,Group,EventSelect,EscrSelect,Mask[,Reload[,Name]]

where group is one of the following:

BPU

FLAME

IQ

MS

These counter groups are defined in the Intel processor manual.

<friendly name>[,Reload[,Name]]This option is available only in TRACE mode.

See Also

Reference

VSInstr
VSPerfCmd
VSPerfReport
Performance Report Column Definition