Syntax
[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
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
Send comments about this topic to Microsoft
Build date: 10/15/2009