Fix: Calculate RTT exclude server side UI queue delay time

This commit is contained in:
yuanyuanxiang committed 2026-06-09 10:01:50 +02:00
1 parent 96688166ba
commit 8e5ec20cf2
5 files changed
+27 -14

No files matched your search

+4
View File
@@ -392,6 +392,10 @@ public:
// 仅作为标记供后续命令处理 / 未来收紧策略使用。
std::atomic<bool> m_bAuthenticated{false};
// 心跳包到达 IOCP 线程的时刻(ms),用于精确计算 ProcessingMs,
// 避免 UI 消息队列等待时间污染服务端耗时统计。
std::atomic<uint64_t> HeartbeatRecvMs{0};
// 预分配的解压缩缓冲区,避免频繁内存分配
PBYTE DecompressBuffer = nullptr;
ULONG DecompressBufferSize = 0;