Editar

Compartilhar via


CpuTraceSourceExtensions.UseProcessorCounters(ITraceSource) Method

Definition

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.

Applies to