CpuTraceSourceExtensions.UseProcessorCounters(ITraceSource) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides data from a trace about processor performance counter values from Processor Counter Monitor (PCM).
public static Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Cpu.IProcessorCounterDataSource> UseProcessorCounters (this Microsoft.Windows.EventTracing.ITraceSource trace);
static member UseProcessorCounters : Microsoft.Windows.EventTracing.ITraceSource -> Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Cpu.IProcessorCounterDataSource>
<Extension()>
Public Function UseProcessorCounters (trace As ITraceSource) As IPendingResult(Of IProcessorCounterDataSource)
Parameters
- trace
- ITraceSource
The trace from which to access the data.
Returns
A pending result that, after the trace is processed, provides data about processor performance counter values from Processor Counter Monitor (PCM).
Remarks
Windows Performance Analyzer does not currently provide this data.