PowerTraceSourceExtensions.UsePlatformIdleStates(ITraceSource) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides data from a trace about the target and actual platform idle states of a system.
public static Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Power.IPlatformIdleStateDataSource> UsePlatformIdleStates (this Microsoft.Windows.EventTracing.ITraceSource trace);
static member UsePlatformIdleStates : Microsoft.Windows.EventTracing.ITraceSource -> Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Power.IPlatformIdleStateDataSource>
<Extension()>
Public Function UsePlatformIdleStates (trace As ITraceSource) As IPendingResult(Of IPlatformIdleStateDataSource)
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 the target and actual platform idle states of the system.
Remarks
Target platform idle states are decided by the operating system software, while actual platform idle states are determined by hardware, and the two values may not always match.
Windows Performance Analyzer provides this data via the Platform Idle State table.