Edit

Share via


GC.GetTotalPauseDuration Method

Definition

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

C#
public static TimeSpan GetTotalPauseDuration();

Returns

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

Applies to

Product Versions
.NET 7, 8, 9