Edit

Share via


ICpuSample Interface

Definition

Defines a snapshot of an instruction executing on a processor at a given point in time.

public interface ICpuSample
type ICpuSample = interface
Public Interface ICpuSample

Properties

Image

Gets the image of the instruction that was executing when the sample was collected, if available.

InstructionPointer

Gets the address of the instruction being executed as the sample was collected.

IsExecutingDeferredProcedureCall

Gets a value indicating whether the thread was executing a deferred procedure call when the sample was collected, if that data is available.

IsExecutingInterruptServicingRoutine

Gets a value indicating whether the thread was executing an interrupt service routine when the sample was collected, if that data is available.

Priority

Gets the priority of the thread at the time the sample was collected, if available.

Process

Gets the process whose thread that was running when the sample was collected, if available.

Processor

Gets the index of the processor on which the sample was collected.

Rank

Gets the rank of the thread at the time the sample was collected, if available.

Stack

Gets the thread call stack being executed as the sample was collected, if available.

Thread

Gets the thread that was running when the sample was collected, if available.

Timestamp

Gets the timestamp at which the sample was collected in the trace.

TopStackFrame

Gets the top frame of the thread call stack that was executing when the sample was collected.

Weight

Gets the estimated duration between this sample and the next sample.

WorkOnBehalfProcess

Gets the process on whose behalf the running thread was working.

WorkOnBehalfThread

Gets the thread on whose behalf the running thread was working.

Applies to