SampledProfile class

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

The following syntax is simplified from MOF code.

Syntax

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

Members

The SampledProfile class has these types of members:

Properties

The SampledProfile class has these 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

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]