Edytuj

Udostępnij za pośrednictwem


GCMemoryInfo.PauseTimePercentage Property

Definition

Gets the pause time percentage in the GC so far. If the pause time is 1.2%, this property's value is 1.2. The value is calculated by taking the sum of all GC pauses so far and dividing that by the total elapsed time of the process since the runtime was loaded. This running counter is updated at the end of each GC. It does not distinguish between GCKind. That is, at every GC, the calculated value is updated, and when you access this property, it gets the latest calculated value.

public:
 property double PauseTimePercentage { double get(); };
public double PauseTimePercentage { get; }
member this.PauseTimePercentage : double
Public ReadOnly Property PauseTimePercentage As Double

Property Value

The pause time percentage.

Applies to