BililiveRecorder/BililiveRecorder.Web/Models/Rest/RoomIOStatsDto.cs

53 lines
1.4 KiB
C#
Raw Normal View History

2022-04-09 16:43:05 +08:00
using System;
namespace BililiveRecorder.Web.Models.Rest
{
public class RoomIOStatsDto
{
2022-06-29 19:46:58 +08:00
/// <summary>
/// 直播服务器域名
/// </summary>
public string? StreamHost { get; set; }
2022-04-09 16:43:05 +08:00
/// <summary>
/// 当前统计区间的开始时间
/// </summary>
public DateTimeOffset StartTime { get; set; }
/// <summary>
/// 当前统计区间的结束时间
/// </summary>
public DateTimeOffset EndTime { get; set; }
/// <summary>
/// 当前统计区间的时长,毫秒
/// </summary>
public double Duration { get; set; }
/// <summary>
/// 下载了的数据量
/// </summary>
public int NetworkBytesDownloaded { get; set; }
/// <summary>
/// 平均下载速度mibi-bits per second
/// </summary>
public double NetworkMbps { get; set; }
/// <summary>
/// 统计区间内的磁盘写入耗时,毫秒
/// </summary>
public double DiskWriteDuration { get; set; }
/// <summary>
/// 统计区间内写入磁盘的数据量
/// </summary>
public int DiskBytesWritten { get; set; }
/// <summary>
/// 平均写入速度mibi-bytes per second
/// </summary>
public double DiskMBps { get; set; }
}
}