ThreadInfo Class |
Namespace: Xcalibur.Models.Processes
The ThreadInfo type exposes the following members.
Name | Description | |
---|---|---|
ThreadInfo | Initializes a new instance of the ThreadInfo class |
Name | Description | |
---|---|---|
Caption |
Win32_PerfRawData_PerfProc_Thread: Short textual description for the statistic or metric.
This property is inherited from CIM_StatisticalInformation.
| |
ContextSwitchesPerSec |
Win32_PerfRawData_PerfProc_Thread: Rate of switches from one thread to another. Thread
switches can occur either inside of a single process or across processes. A thread switch
can be caused either by one thread requesting data from another thread or because a higher
priority thread is ready to run. The operating system uses process boundaries for subsystem
protection in addition to the traditional protection of user and privileged modes. These
subsystem processes provide additional protection. Therefore, some work done by the
operating system on behalf of an application will appear in other subsystem processes in
addition to the privileged time in the application. Switching to the subsystem process
causes one Context Switch in the application thread. Switching back causes another Context
Switch in the subsystem thread.
| |
Description |
Gets or sets the description.
(Inherited from ProcessInfoBase.) | |
ElapsedTime |
Gets or sets the elapsed time.
(Inherited from ProcessInfoBase.) | |
IDProcess |
Gets or sets the ID process.
(Inherited from ProcessInfoBase.) | |
IdThread |
Win32_PerfRawData_PerfProc_Thread: Unique identifier of this thread. Values for this
property are reused, so they only identify a thread for the lifetime of that thread.
| |
Name |
Gets or sets the name.
(Inherited from ProcessInfoBase.) | |
PercentPrivilegedTime |
Percentage of elapsed time that this thread has spent executing code in privileged
mode. When the operating system system service is called, the service often runs in
privileged mode to gain access to system-private data. Such data is protected from
access by threads executing in user mode. Calls to the system can be explicit or
implicit such as page faults and interrupts. Unlike some early operating systems, the
operating system uses process boundaries for subsystem protection in addition to the
traditional protection of user and privileged modes. These subsystem processes provide
additional protection. Therefore, some work done by the operating system on behalf of
your application might appear in other subsystem processes in addition to the
privileged time in your process.
(Inherited from ProcessInfoBase.) | |
PercentProcessorTime |
Percentage of elapsed time that all of the threads of this process used the processor
to execute instructions. An instruction is the basic unit of execution in a computer,
a thread is the object that executes instructions, and a process is the object created
when a program is run. Code executed to handle some hardware interrupts and trap
conditions is included in this count.
(Inherited from ProcessInfoBase.) | |
PercentUserTime |
Percentage of elapsed time that this process's threads have spent executing code in
user mode. Applications, environment subsystems and integral subsystems execute in
user mode. Code executing in user mode cannot damage the integrity of the operating
system executive, kernel, and device drivers. The operating system uses process
boundaries for subsystem protection in addition to the traditional protection of user
and privileged modes. These subsystem processes provide additional protection.
Therefore, some work done by the operating system on behalf of your application might
appear in other subsystem processes in addition to the privileged time in your process.
(Inherited from ProcessInfoBase.) | |
PriorityBase |
Gets or sets the priority base.
(Inherited from ProcessInfoBase.) | |
PriorityCurrent |
Win32_PerfRawData_PerfProc_Thread: Current dynamic priority of this thread. The system can
raise the dynamic priority of the thread above the base priority if the thread is handling
user input, or lower it toward the base priority if the thread starts executing a
CPU-intensive computation.
| |
StartAddress |
Win32_PerfRawData_PerfProc_Thread: Starting virtual address for this thread.
| |
ThreadState |
Win32_PerfRawData_PerfProc_Thread: Current state of the thread.
| |
ThreadWaitReason |
Win32_PerfRawData_PerfProc_Thread: This property is only applicable when the thread is in
the Wait state. For more information, see the ThreadState property.
| |
TimestampObject |
Object-defined timestamp, defined by the provider.
(Inherited from ProcessInfoBase.) | |
TimestampSys100Ns |
Win32_PerfRawData_PerfProc_Process: Timestamp_Sys100NS:
Timestamp value in 100 nanosecond units.
(Inherited from ProcessInfoBase.) |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |