Edit

Share via


PowerTraceSourceExtensions.UseSystemSleepData(ITraceSource) Method

Definition

Provides data from a trace about overall system power state.

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

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 overall system power state.

Remarks

Windows Performance Analyzer provides this data via the Power Transition table.

Applies to