Click or drag to resize
Xcalibur Systems LLC Logo

ProcessThreadTimes Class

Retrieves timing information for the specified process.

GetProcessTimes function

Inheritance Hierarchy
SystemObject
  Xcalibur.NativeMethods.V2.ProcessesProcessThreadTimes

Namespace: Xcalibur.NativeMethods.V2.Processes
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
public class ProcessThreadTimes

The ProcessThreadTimes type exposes the following members.

Constructors
 NameDescription
Public methodProcessThreadTimesInitializes a new instance of the ProcessThreadTimes class
Top
Properties
 NameDescription
Public propertyElapsedTime TimeSpan between the Create and Exit.
Public propertyExitTime Exit time of the process formatted into a DateTime object.
Public propertyPrivilegedProcessorTime TimeSpan of time run in kernel mode.
Public propertyStartTime Creation time of the process formatted into a DateTime object.
Public propertyTotalProcessorTime TimeSpan of time run in kernel and user mode.
Public propertyUserProcessorTime TimeSpan of time run in user mode.
Top
Methods
 NameDescription
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Protected methodMemberwiseClone
(Inherited from Object)
Public methodToString
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldCreate A pointer to a FILETIME structure that receives the creation time of the process.
Public fieldExit A pointer to a FILETIME structure that receives the exit time of the process. If the process has not exited, the content of this structure is undefined.
Public fieldKernel A pointer to a FILETIME structure that receives the amount of time that the process has executed in kernel mode. The time that each of the threads of the process has executed in kernel mode is determined, and then all of those times are summed together to obtain this value.
Public fieldUser The user
Top
See Also