Modifier

Partager via


PowerTraceSourceExtensions.UseEnergyEstimationData(ITraceSource) Method

Definition

Provides data from a trace about estimated per-process energy usage from Energy Estimation Engine.

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

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 estimated per-process energy usage from Energy Estimation Engine.

Remarks

Windows Performance Analyzer provides this data via the Energy Estimation Engine Summary (by Process) table.

Applies to