Click or drag to resize

ThreadInfo Class

Process Thread Information.

For more information see: Win32_PerfRawData_PerfProc_Thread class

Inheritance Hierarchy

Namespace:  Xcalibur.Models.Processes
Assembly:  Xcalibur.Models (in Xcalibur.Models.dll) Version: 1.0.5.0 (1.0.0.0)
Syntax
[DataContractAttribute]
public class ThreadInfo : ProcessInfoBase, IThreadInfo, 
	IProcessInfoBase

The ThreadInfo type exposes the following members.

Constructors
  NameDescription
Public methodThreadInfo
Initializes a new instance of the ThreadInfo class
Top
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 ProcessInfoBase.)
Public propertyElapsedTime
Gets or sets the elapsed time.
(Inherited from ProcessInfoBase.)
Public propertyIDProcess
Gets or sets the ID process.
(Inherited from ProcessInfoBase.)
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 ProcessInfoBase.)
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 ProcessInfoBase.)
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 ProcessInfoBase.)
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 ProcessInfoBase.)
Public propertyPriorityBase
Gets or sets the priority base.
(Inherited from ProcessInfoBase.)
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 ProcessInfoBase.)
Public propertyTimestampSys100Ns
Win32_PerfRawData_PerfProc_Process: Timestamp_Sys100NS: Timestamp value in 100 nanosecond units.
(Inherited from ProcessInfoBase.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also