Click to Rate and Give Feedback
MSDN
MSDN Library
Diagnostics
Windows Events
Event Tracing
EventTrace
MSNT_SystemTrace
PerfInfo
 SampledProfile Class
SampledProfile Class

This class is the event type class for sampled profile events.

The following syntax is simplified from MOF code.


[EventType{46}, EventTypeName{"SampleProfile"}]
class SampledProfile : PerfInfo
{
  uint32 InstructionPointer;
  uint32 ThreadId;
  uint32 Count;
};

Methods

The SampledProfile class does not define any methods.

Properties

The SampledProfile class defines the following properties.

Count
Data type: uint32
Access type: Read-only
Qualifiers: WmiDataId(3)

Not used.

InstructionPointer
Data type: uint32
Access type: Read-only
Qualifiers: WmiDataId(1), Pointer

Address of the image that was running at the time the processor was sampled.

ThreadId
Data type: uint32
Access type: Read-only
Qualifiers: WmiDataId(2)

Thread identifier of the thread that was running at the time the processor was sampled.

Remarks

These events provide a sampled execution profile. The event records what was being executed on the processor. You can use the Image events to identify the binary module containing that instruction. You can then use this information to produce an execution profile for the duration of the trace.

Requirements

Client Requires Windows Vista.
Server Requires Windows Server 2008.

Send comments about this topic to Microsoft

Build date: 8/7/2008

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker