QueryCounters
The QueryCounters option lists the CPU (hardware) performance counters that are available on the computer.
QueryCounters must be the only option on the command line.
VSPerfCmd.exe /QueryCounters
Parameters
None
Remarks
When you are using the instrumentation method, the profiler can collect the values of one or more CPU performance counters at each data collection event. When you are using the sampling profiling method, you can specify one counter event and the number of event occurrences to be used as the sampling interval.
Different processors expose different CPU performance counters. The profiler defines a set of generic counters that can be used on almost all processors. The QueryCounters option lists both the names of the generic counters and the names of the counters that are specific to the processor.
See Also
Reference
Other Resources
Command-Line Profiling of Stand-Alone Applications