Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

GC.GetTotalPauseDuration Method

Definition

Namespace:
System
Assemblies:
netstandard.dll, System.Runtime.dll
Source:
GC.CoreCLR.cs
Source:
GC.CoreCLR.cs
Source:
GC.CoreCLR.cs
Source:
GC.CoreCLR.cs
Source:
GC.CoreCLR.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets the total amount of time paused in GC since the beginning of the process.

public:
 static TimeSpan GetTotalPauseDuration();
public static TimeSpan GetTotalPauseDuration();
static member GetTotalPauseDuration : unit -> TimeSpan
Public Shared Function GetTotalPauseDuration () As TimeSpan

Returns

The total amount of time paused in GC since the beginning of the process.

Applies to


Feedback

Was this page helpful?