MultipathStats

  • C++

更新时间不可用

用于汇总多路径传输中各网络路径的统计数据。

C++
struct MultipathStats {
  uint32_t lanTxBytes;
  uint32_t lanRxBytes;
  uint32_t wifiTxBytes;
  uint32_t wifiRxBytes;
  uint32_t mobileTxBytes;
  uint32_t mobileRxBytes;
  int activePathNum;
  const PathStats* pathStats;
};

自从

自 v4.6.0 版本新增。

属性

参数名描述
lanTxBytes

通过 LAN 路径发送的字节总数。

lanRxBytes

通过 LAN 路径接收的字节总数。

wifiTxBytes

通过 Wi-Fi 路径发送的字节总数。

wifiRxBytes

通过 Wi-Fi 路径接收的字节总数。

mobileTxBytes

通过移动网络路径发送的字节总数。

mobileRxBytes

通过移动网络路径接收的字节总数。

activePathNum

当前活跃的传输路径数量。

pathStats

每个活跃传输路径的统计信息数组。详见 PathStats。

表格内容超出当前宽度,可横向滚动查看更多列。

这个页面有帮助吗?