Bagikan melalui


IHttpSysRequestTimingFeature.Timestamps Properti

Definisi

Mendapatkan semua tanda waktu waktu Http.Sys

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

Nilai Properti

Keterangan

Tanda waktu ini diperoleh menggunakan queryPerformanceCounter https://learn.microsoft.com/windows/win32/api/profileapi/nf-profileapi-queryperformancecounter dan frekuensi tanda waktu dapat diperoleh melalui QueryPerformanceFrequency https://learn.microsoft.com/windows/win32/api/profileapi/nf-profileapi-queryperformancefrequency. Indeks waktu dapat dilemparkan ke HttpSysRequestTimingType untuk mengetahui apa yang diwakili oleh waktu. Nilainya mungkin 0 jika waktu tidak tersedia untuk permintaan saat ini.

Berlaku untuk