зеркало из https://github.com/microsoft/BuildXL.git
Merged PR 795059: Add further information about disk performance in PerformanceCollector
Add further information about disk performance in PerformanceCollector. To be used for FastDownload statistics in order to help determine where to focus efforts.
This commit is contained in:
Родитель
3959ebb06d
Коммит
c1b457226f
|
@ -1138,9 +1138,21 @@ namespace BuildXL.Utilities
|
|||
/// <nodoc/>
|
||||
public Aggregation ReadTime = new Aggregation();
|
||||
|
||||
/// <nodoc/>
|
||||
public Aggregation ReadCount = new Aggregation();
|
||||
|
||||
/// <nodoc/>
|
||||
public Aggregation WriteTime = new Aggregation();
|
||||
|
||||
/// <nodoc/>
|
||||
public Aggregation WriteCount = new Aggregation();
|
||||
|
||||
/// <nodoc/>
|
||||
public Aggregation BytesRead = new Aggregation();
|
||||
|
||||
/// <nodoc/>
|
||||
public Aggregation BytesWritten = new Aggregation();
|
||||
|
||||
/// <nodoc/>
|
||||
public Aggregation AvailableSpaceGb = new Aggregation();
|
||||
|
||||
|
@ -1442,7 +1454,11 @@ namespace BuildXL.Utilities
|
|||
{
|
||||
m_diskStats[i].AvailableSpaceGb.RegisterSample(machineDiskStats[i].AvailableSpaceGb);
|
||||
m_diskStats[i].ReadTime.RegisterSample(machineDiskStats[i].DiskPerformance.ReadTime);
|
||||
m_diskStats[i].ReadCount.RegisterSample(machineDiskStats[i].DiskPerformance.ReadCount);
|
||||
m_diskStats[i].WriteTime.RegisterSample(machineDiskStats[i].DiskPerformance.WriteTime);
|
||||
m_diskStats[i].WriteCount.RegisterSample(machineDiskStats[i].DiskPerformance.WriteCount);
|
||||
m_diskStats[i].BytesRead.RegisterSample(machineDiskStats[i].DiskPerformance.BytesRead);
|
||||
m_diskStats[i].BytesWritten.RegisterSample(machineDiskStats[i].DiskPerformance.BytesWritten);
|
||||
m_diskStats[i].IdleTime.RegisterSample(machineDiskStats[i].DiskPerformance.IdleTime);
|
||||
m_diskStats[i].QueueDepth.RegisterSample(machineDiskStats[i].DiskPerformance.QueueDepth);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче