編輯

共用方式為


ITraceSource Interface

Definition

Defines a source of trace data.

public interface ITraceSource
type ITraceSource = interface
Public Interface ITraceSource
Derived

Properties

Properties

Gets a central location for sharing state between components during trace processing.

Settings

Methods

Use(IEventConsumer)

Registers a consumer to receive events when the trace is processed.

UseCompletion(ICompletable)

Registers a callback to notify when trace processing is complete.

Extension Methods

UseReadyBootData(ITraceSource)

Provides data from a trace about boot prefetching activity from Ready Boot.

UseContextSwitchData(ITraceSource, Boolean)

Provides data from a trace about processor context switches.

UseContextSwitchData(ITraceSource)

Provides data from a trace about processor context switches.

UseCpuSamplingData(ITraceSource)

Provides data from a trace about CPU usage based on periodic sampling of the instruction pointer.

UseCpuSchedulingData(ITraceSource)

Provides data from a trace about CPU thread scheduling, including context switches and ready thread events.

UseInterruptHandlingData(ITraceSource)

Provides data from a trace about Interrupt Service Routine (ISR) and Deferred Procedure Call (DPC) activity.

UseLastBranchRecordData(ITraceSource)

Provides data about processor last branch record (LBR) activity during a trace.

UseProcessorCounters(ITraceSource)

Provides data from a trace about processor performance counter values from Processor Counter Monitor (PCM).

UseReadyThreadData(ITraceSource, Boolean)

Provides data from a trace about ready thread events.

UseReadyThreadData(ITraceSource)

Provides data from a trace about ready thread events.

UseDiskIOData(ITraceSource)

Provides data from a trace about Disk I/O activity.

UseFileIOData(ITraceSource)

Provides data from a trace about File I/O activity.

UseClassicEvents(ITraceSource)

Provides classic ETW events from a trace, which do not include schema information.

UseGenericEvents(ITraceSource, GenericEventSettings)

Provides a subset of manifested or TraceLogging events from a trace.

UseGenericEvents(ITraceSource, Guid[])

Provides a subset of manifested or TraceLogging events from a trace.

UseGenericEvents(ITraceSource)

Provides manifested and TraceLogging events from a trace.

UseStackEvents(ITraceSource)

Provides data about events associated with stacks recorded during a trace.

UseTraceStatistics(ITraceSource)

Provides statistics about the events in a trace.

UseWindowsTracePreprocessorEvents(ITraceSource)

Provides Windows software trace preprocessor (WPP) events from a trace.

UseDirectXData(ITraceSource)

Provides data from a trace about DirectX activity.

UseHypercalls(ITraceSource)

Provides data about Hyper-V hypercalls that occured during a trace.

UseHypervisorPartitionData(ITraceSource)

Provides data about the Hyper-V partition the trace was recorded in.

UseHandles(ITraceSource)

Provides partial data from a trace about active kernel handles.

UseHardFaults(ITraceSource)

Provides data from a trace about hard page faults.

UseHeapSnapshots(ITraceSource)

Provides data from a trace about process heap usage.

UseMemoryUtilizationData(ITraceSource)

Provides data from a trace about total system memory utilization.

UsePoolAllocations(ITraceSource)

Provides data from a trace about kernel pool memory usage.

UseReferenceSetData(ITraceSource)

Provides data from a trace about pages of virtual memory used by each process.

UseResidentSetData(ITraceSource)

Provides data from a trace about the pages of virtual memory for each process that were resident in physical memory.

UseWorkingSetData(ITraceSource)

Provides data from a trace about pages of virtual memory that were in the working set for each process or kernel category.

UseMarks(ITraceSource)

Provides the marks (labeled timestamps) from a trace.

UseRundownData(ITraceSource)

Provides data from a trace about intervals during which trace rundown data collection occurred.

UseSystemMetadata(ITraceSource)

Provides general, system-wide metadata from a trace.

UseWinINetData(ITraceSource)

Provides data from a trace about internet activity via Windows Internet (WinINet).

UseConnectedStandbyData(ITraceSource)

Provides data from a trace about the system entering and exiting connected standby.

UseCpuIdleStates(ITraceSource)

Provides data from a trace about CPU C-states.

UseDevicePowerData(ITraceSource)

Provides data from a trace about device D-states.

UseEnergyEstimationData(ITraceSource)

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

UseEnergyMeterData(ITraceSource)

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

UsePlatformIdleStates(ITraceSource)

Provides data from a trace about the target and actual platform idle states of a system.

UsePowerConfigurationData(ITraceSource)

Provides data from a trace about system power configuration.

UsePowerDependencyCoordinatorData(ITraceSource)

Provides data from a trace about active power dependency coordinator phases.

UseProcessorFrequencyData(ITraceSource)

Provides data from a trace about the frequency at which processors ran.

UseProcessorParkingData(ITraceSource)

Provides data from a trace about which processors were parked or unparked.

UseProcessorParkingLimits(ITraceSource)

Provides data from a trace about the maximum allowed number of unparked processors.

UseProcessorProfileData(ITraceSource)

Provides data from a trace about the active processor power profile.

UseProcessorQualityOfServiceData(ITraceSource)

Provides data from a trace about the quality of service level for each processor.

UseProcessorThrottlingData(ITraceSource)

Provides data from a trace about processor maximum frequency throttling.

UseSystemPowerSourceData(ITraceSource)

Provides data from a trace about the active system power source (AC vs DC).

UseSystemSleepData(ITraceSource)

Provides data from a trace about overall system power state.

UseTargetCpuIdleStates(ITraceSource)

Provides data from a trace about target CPU C-states.

UseTargetProcessorFrequencyData(ITraceSource)

Provides data from a trace about target processor frequencies.

UseImageSections(ITraceSource)

Provides data from a trace about the sections of an image.

UseProcesses(ITraceSource)

Provides data about processes active during a trace as well as their images and PDBs.

UseThreads(ITraceSource, Boolean)

Provides data about threads active during a trace.

UseThreads(ITraceSource)

Provides data about threads active during a trace.

UseRegionsOfInterest(ITraceSource)

Provides named regions of interest intervals from a trace as specified in an xml configuration file.

UseRegistryData(ITraceSource)

Provides data about registry activity during a trace.

UseScheduledTasks(ITraceSource)

Provides data about scheduled tasks that ran during a trace.

UseServices(ITraceSource)

Provides data about services that were active or had their state captured during a trace.

UseStacks(ITraceSource)

Provides data about stacks recorded during a trace.

UseStackTags(ITraceSource)

Provides a mapper that groups stacks from a trace into stack tags as specified in an XML configuration file.

UseSymbols(ITraceSource)

Provides the ability to load symbols for a trace.

UseSyscalls(ITraceSource)

Provides data about syscalls that occurred during a trace.

Use(ITraceSource, TraceEventCallback)

Registers a callback to receive events when the trace is processed.

Use(ITraceSource, IReadOnlyList<Guid>, TraceEventCallback)

Registers a callback to receive events from specified providers when the trace is processed.

UseMetadata(ITraceSource)

Provides trace metadata available without further processing.

UsePending<TDataSource>(ITraceSource, IProvider<TDataSource>, ConsumerSchedule)

Registers a data source provider to make its data source available at a later point in trace processing.

UsePendingPerTrace<T>(ITraceSource, Object, IProvider<IProvider<T>>, ConsumerSchedule)
UsePendingPerTrace<T>(ITraceSource, Object, Func<IProvider<T>>, ConsumerSchedule)
UseStreaming(ITraceSource)

Provides streaming (non-buffered) data from the trace.

UseTraceTimestampContext(ITraceSource)

Provides a context to interpret a TraceTimestampValue.

UseTwoPassCompletion(ITraceSource, ICompletableTwoPassEventConsumer)

Registers a consumer to receive events when the trace is processed across two passes.

UseUtcData(ITraceSource)

Provides data from a trace about Microsoft telemetry activity using Universal Telemetry Client (UTC).

UseWindowInFocus(ITraceSource)

Provides data from a trace about changes to the active UI window in focus.

Applies to