IHttpSysRequestTimingFeature.Timestamps 属性

定义

获取所有 Http.Sys 计时时间戳

public ReadOnlySpan<long> Timestamps { get; }
member this.Timestamps : ReadOnlySpan<int64>
Public ReadOnly Property Timestamps As ReadOnlySpan(Of Long)

属性值

注解

这些时间戳是使用 QueryPerformanceCounter https://video2.skills-academy.com/windows/win32/api/profileapi/nf-profileapi-queryperformancecounter 获取的,可以通过 QueryPerformanceFrequency https://video2.skills-academy.com/windows/win32/api/profileapi/nf-profileapi-queryperformancefrequency获取时间戳频率。 计时索引可以强制转换为 HttpSysRequestTimingType 以了解计时表示的内容。 如果计时不适用于当前请求,该值可能为 0。

适用于