Click or drag to resize

IThreadInfo Properties

The IThreadInfo type exposes the following members.

Properties
  NameDescription
Public propertyCaption
Win32_PerfRawData_PerfProc_Thread: Short textual description for the statistic or metric. This property is inherited from CIM_StatisticalInformation.
Public propertyContextSwitchesPerSec
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.
Public propertyDescription
Gets or sets the description.
(Inherited from IProcessInfoBase.)
Public propertyElapsedTime
Gets or sets the elapsed time.
(Inherited from IProcessInfoBase.)
Public propertyIDProcess
Gets or sets the ID process.
(Inherited from IProcessInfoBase.)
Public propertyIdThread
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.
Public propertyName
Gets or sets the name.
(Inherited from IProcessInfoBase.)
Public propertyPercentPrivilegedTime
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 IProcessInfoBase.)
Public propertyPercentProcessorTime
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 IProcessInfoBase.)
Public propertyPercentUserTime
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 IProcessInfoBase.)
Public propertyPriorityBase
Gets or sets the priority base.
(Inherited from IProcessInfoBase.)
Public propertyPriorityCurrent
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.
Public propertyStartAddress
Win32_PerfRawData_PerfProc_Thread: Starting virtual address for this thread.
Public propertyThreadState
Win32_PerfRawData_PerfProc_Thread: Current state of the thread.
Public propertyThreadWaitReason
Win32_PerfRawData_PerfProc_Thread: This property is only applicable when the thread is in the Wait state. For more information, see the ThreadState property.
Public propertyTimestampObject
Object-defined timestamp, defined by the provider.
(Inherited from IProcessInfoBase.)
Public propertyTimestampSys100Ns
Win32_PerfRawData_PerfProc_Process: Timestamp_Sys100NS: Timestamp value in 100 nanosecond units.
(Inherited from IProcessInfoBase.)
Top
See Also