IPerformanceMonitor 接口

定义

public interface IPerformanceMonitor : IDisposable
type IPerformanceMonitor = interface
    interface IDisposable
Public Interface IPerformanceMonitor
Implements IDisposable
派生
实现

方法

GetPeakCpuUsage()
GetPeakMemoryUsageInMegaByte()
OnPerformanceMetricsUpdatedHandler(TrialSettings, TrialPerformanceMetrics, CancellationTokenSource)

每次 PerformanceMetricsUpdated 触发处理程序函数。

Pause()
Start()
Stop()

事件

PerformanceMetricsUpdated

适用于