-
I want to create an echo server, client using System.Net.Quic in .NET 9.0 to test QUIC network performance. I noticed that Performance Monitor has counters related to QUIC, and I tried to measure them in the following form, but I can't seem to get the right values. For example, when I run the following code on my machine, it always outputs most of the values as 0. The same thing happens in my C program using msquic.lib, I am unable to collect the values of the counters correctly. Any idea why this is happening? My computer is Windows 11 23H2 (AMD64). Translated with DeepL.com (free version)
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The perf counters in Windows are only for the kernel mode version of MsQuic that comes in box (used by http and smb). It's not used for user mode MsQuic, such as the one used by .Net. but we do have an MsQuic API that allows you to query the stats for your process. Please see our diagnostics documentation for more details. |
Beta Was this translation helpful? Give feedback.
The perf counters in Windows are only for the kernel mode version of MsQuic that comes in box (used by http and smb). It's not used for user mode MsQuic, such as the one used by .Net. but we do have an MsQuic API that allows you to query the stats for your process. Please see our diagnostics documentation for more details.