Click or drag to resize

ProcessUtilizationCalculator Class

Represents a utilization calculator for a related Process set.
Inheritance Hierarchy
SystemObject
  GSF.DiagnosticsProcessUtilizationCalculator

Namespace: GSF.Diagnostics
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.205-beta+5ef4169f3b1079d8b163dd363614f656bd140924
Syntax
public sealed class ProcessUtilizationCalculator : IDisposable
View Source

The ProcessUtilizationCalculator type exposes the following members.

Constructors
 NameDescription
Public methodProcessUtilizationCalculator Creates a new ProcessUtilizationCalculator.
Top
Properties
 NameDescription
Public propertyAssociatedProcesses Gets associated processes for this ProcessUtilizationCalculator.
Public propertyUpdateInterval Gets or sets the interval, in milliseconds, over which Utilization will be calculated.
Public propertyUtilization Gets the current processor utilization, percent between 0.0 and 1.0, of the associated Process set.
Top
Methods
 NameDescription
Public methodDispose Releases all the resources used by the ProcessUtilizationCalculator object.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInitialize(IEnumerableProcess) Starts calculating the total processor utilization of the specified processes.
Public methodInitialize(Process) Starts calculating the total processor utilization of the specified processes.
Public methodRefresh Refreshes the processor utilization of the associated Process set.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventStatusMessage Provides status messages to consumer.
Top
Fields
 NameDescription
Public fieldStatic memberDefaultUpdateInterval Default value for the UpdateInterval property.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also