RunningProcessor

final class ntoseye.RunningProcessor

Subclass of BaseRecord.

A processor’s running, next, and idle threads (!running).

property current_thread: Diagnostic[ThreadSummary | None]

The thread that runs on the processor. The value inside is None if no thread runs.

property idle_thread: Diagnostic[ThreadSummary | None]

The processor’s idle thread.

property index: int

The processor number.

property kpcr: Diagnostic[int]
property next_thread: Diagnostic[ThreadSummary | None]

The thread selected to run next. The value inside is None if there is no next thread.

property prcb: Diagnostic[int]
property short_stack: Diagnostic[list[StackFrame]] | None

The first frames of the running thread. None if stacks were not requested.