GCMemoryInfo.PauseDurations 属性

定义

获取暂停持续时间。Gets the pause durations. 对于阻止 GC,有一次暂停;对于后台 GC,有两次暂停。For blocking GCs, there is one pause; for background GC, there are two.

public:
 property ReadOnlySpan<TimeSpan> PauseDurations { ReadOnlySpan<TimeSpan> get(); };
public ReadOnlySpan<TimeSpan> PauseDurations { get; }
member this.PauseDurations : ReadOnlySpan<TimeSpan>
Public ReadOnly Property PauseDurations As ReadOnlySpan(Of TimeSpan)

属性值

ReadOnlySpan<TimeSpan>

表示暂停持续时间的时间跨度。A timespan representing the pause durations.

适用于