FastGithub/FastGithub.FlowAnalyze/FlowStatistics.cs
xingyuan55 4d9d97f871 start
2022-11-16 08:01:03 +08:00

29 lines
631 B
C#

namespace FastGithub.FlowAnalyze
{
/// <summary>
/// 流量统计
/// </summary>
public record FlowStatistics
{
/// <summary>
/// 获取总读上行
/// </summary>
public long TotalRead { get; init; }
/// <summary>
/// 获取总下行
/// </summary>
public long TotalWrite { get; init; }
/// <summary>
/// 获取读取速率
/// </summary>
public double ReadRate { get; init; }
/// <summary>
/// 获取写入速率
/// </summary>
public double WriteRate { get; init; }
}
}