using System; namespace BililiveRecorder.Core.Event { public sealed class IOStatsEventArgs : EventArgs { /// /// 直播服务器域名 /// public string? StreamHost { get; set; } /// /// 当前统计区间的开始时间 /// public DateTimeOffset StartTime { get; set; } /// /// 当前统计区间的结束时间 /// public DateTimeOffset EndTime { get; set; } /// /// 当前统计区间的时长 /// public TimeSpan Duration { get; set; } /// /// 下载了的数据量 /// public int NetworkBytesDownloaded { get; set; } /// /// 平均下载速度,mibi-bits per second /// public double NetworkMbps { get; set; } /// /// 统计区间内的磁盘写入耗时 /// public TimeSpan DiskWriteDuration { get; set; } /// /// 统计区间内写入磁盘的数据量 /// public int DiskBytesWritten { get; set; } /// /// 平均写入速度,mibi-bytes per second /// public double DiskMBps { get; set; } } }