-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProcessIoSample.cs
More file actions
27 lines (27 loc) · 1.04 KB
/
Copy pathProcessIoSample.cs
File metadata and controls
27 lines (27 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
namespace IoMonitor
{
/// <summary>
/// Immutable display model for one process in the latest sampling pass.
/// </summary>
internal sealed class ProcessIoSample
{
public int Pid { get; init; }
public string Name { get; init; } = string.Empty;
public long ReadDelta { get; init; }
public long WriteDelta { get; init; }
public long TotalRead { get; init; }
public long TotalWrite { get; init; }
public bool IsActive { get; init; } = true;
public bool IsSystem { get; init; }
public string DriveLetter { get; init; } = string.Empty;
public int HandleCount { get; init; }
public long ReadOps { get; init; }
public long WriteOps { get; init; }
public long ReadOpsDelta { get; init; }
public long WriteOpsDelta { get; init; }
public long WorkingSet { get; init; }
public long AverageIoSize { get; init; }
public string IoPattern { get; init; } = string.Empty;
public bool IsThrashing { get; init; }
}
}