編集

次の方法で共有


PowerTraceSourceExtensions.UseEnergyMeterData(ITraceSource) Method

Definition

Provides data from a trace about measured energy usage from Energy Meter Interface (EMI).

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

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 measured energy usage from Energy Meter Interface (EMI).

Remarks

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

Applies to