0 out of 1 rated this helpful - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Out of memory while loading coverage file in Visual Studio IDE
Hi, $0$0 $0 $0I am trying to see the code coverage using VSInstr and VsPerfmon with Visual Studio 2010. I created instrumented binaries with VsInstr. I was able to generate the coverage file using VsPefrmon /coverage option. But when I try to open the file in IDE, it fails with 'Out of memory exception'.  Machine on which I am trying this has sufficient memory and free disk space, and there doesn't seem to be any reason why out of memory exception should come.$0 $0$0 $0 $0Does anyone know any solution to this problem?$0 $0$0 $0 $0Thanks,$0 $0-Nilesh.$0