更新tcp日志

This commit is contained in:
MOCK
2026-03-20 09:04:24 +08:00
parent 4b95d26f13
commit df7947c500
6 changed files with 576 additions and 37 deletions

View File

@@ -31,6 +31,12 @@ typedef struct OmniStats {
uint64_t bytes_recv; /* 接收总字节数 */
uint64_t window_bytes_sent; /* 当前 1 秒窗口发送字节数 */
uint64_t window_bytes_recv; /* 当前 1 秒窗口接收字节数 */
uint64_t delay_window_start_send_ms; /* 延时估算使用的最近发送活跃窗口起点 */
uint64_t delay_window_start_recv_ms; /* 延时估算使用的最近接收活跃窗口起点 */
uint64_t delay_window_bytes_sent; /* 延时估算使用的最近发送活跃窗口字节数 */
uint64_t delay_window_bytes_recv; /* 延时估算使用的最近接收活跃窗口字节数 */
uint64_t last_send_activity_ms; /* 最近一次发送活跃时间 */
uint64_t last_recv_activity_ms; /* 最近一次接收活跃时间 */
uint64_t send_count; /* 调用 omni_send 次数 */
uint64_t recv_count; /* 调用 omni_recv 次数 */