OSThreadImpl
OSThreadImpl
Provides the implementation of the OSThread
interface, representing a thread of an operating system process, including details about its execution, resource usage, and associated metadata.
Author
N7ghtm4r3
Parameters
The unique identifier for the thread.
The name of the thread (e.g., "main", "worker").
The current state of the thread (e.g., running, sleeping).
The cumulative CPU load of the thread as a percentage.
The CPU load of the thread between two ticks, as a percentage.
The process ID of the process that owns the thread.
The starting memory address of the thread.
The number of context switches performed for the thread.
The number of minor page faults experienced by the thread.
The number of major page faults experienced by the thread.
The total amount of time the thread has spent in kernel mode, in milliseconds.
The total amount of time the thread has spent in user mode, in milliseconds.
The total uptime of the thread, in milliseconds.
The start time of the thread, in milliseconds since the Unix epoch.
The priority level of the thread.
A flag indicating whether the thread attributes should be updated.