共用方式為


IHttpSysRequestTimingFeature.Timestamps 屬性

定義

取得所有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/en-us/windows/win32/api/profileapi/nf-profileapi-queryperformancecounter 取得的,而且時間戳記頻率可以透過 QueryPerformanceFrequency https://learn.microsoft.com/en-us/windows/win32/api/profileapi/nf-profileapi-queryperformancefrequency 取得。 計時的索引可以轉換成 HttpSysRequestTimingType ,以瞭解計時所代表的內容。 如果目前要求無法使用計時,此值可能會是 0。

適用於