ProcessUtilizationCalculator Class

Represents a utilization calculator for a related Process set.

Definition

Namespace: Gemstone.Diagnostics
Assembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.128 -- Release Build+d9d157c80da59365061f9bf4a5d1ecd0f0496e1b
public sealed class ProcessUtilizationCalculator : IDisposable
Inheritance
Object    ProcessUtilizationCalculator
Implements
IDisposable

Constructors

ProcessUtilizationCalculator Creates a new ProcessUtilizationCalculator.

Properties

AssociatedProcesses Gets associated processes for this ProcessUtilizationCalculator.
UpdateInterval Gets or sets the interval, in milliseconds, over which Utilization will be calculated.
Utilization Gets the current processor utilization, percent between 0.0 and 1.0, of the associated Process set.

Methods

Dispose Releases all the resources used by the ProcessUtilizationCalculator object.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Initialize(IEnumerableProcess) Starts calculating the total processor utilization of the specified processes.
Initialize(Process) Starts calculating the total processor utilization of the specified processes.
Refresh Refreshes the processor utilization of the associated Process set.
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

StatusMessage Provides status messages to consumer.

Fields

DefaultUpdateInterval Default value for the UpdateInterval property.

See Also