Editar

Compartilhar via


PowerTraceSourceExtensions.UseDevicePowerData(ITraceSource) Method

Definition

Provides data from a trace about device D-states.

public static Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Power.IDevicePowerDataSource> UseDevicePowerData (this Microsoft.Windows.EventTracing.ITraceSource trace);
static member UseDevicePowerData : Microsoft.Windows.EventTracing.ITraceSource -> Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Power.IDevicePowerDataSource>
<Extension()>
Public Function UseDevicePowerData (trace As ITraceSource) As IPendingResult(Of IDevicePowerDataSource)

Parameters

trace
ITraceSource

The trace from which to access the data.

Returns

A pending result that, after the trace is processed, provides data from the trace about device D-states.

Remarks

Windows Performance Analyzer provides this data via the Device DState table.

Applies to