IHttpSysRequestTimingFeature.Timestamps 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得所有 Http.Sys 計時時間戳
public ReadOnlySpan<long> Timestamps { get; }
member this.Timestamps : ReadOnlySpan<int64>
Public ReadOnly Property Timestamps As ReadOnlySpan(Of Long)
屬性值
備註
這些時間戳是使用QueryPerformanceCounter https://learn.microsoft.com/windows/win32/api/profileapi/nf-profileapi-queryperformancecounter 取得,而時間戳頻率可透過QueryPerformanceFrequency https://learn.microsoft.com/windows/win32/api/profileapi/nf-profileapi-queryperformancefrequency取得。 計時的索引可以轉換成 HttpSysRequestTimingType,以瞭解計時代表什麼。 如果目前要求無法使用計時,此值可能是 0。