OrleansPerfCounterTelemetryConsumer.AreWindowsPerfCountersAvailable 方法

定义

重载

AreWindowsPerfCountersAvailable()

检查操作系统是否支持 Windows perf 计数器。

AreWindowsPerfCountersAvailable(ILogger)

检查操作系统是否支持 Windows perf 计数器。

AreWindowsPerfCountersAvailable()

检查操作系统是否支持 Windows perf 计数器。

public static bool AreWindowsPerfCountersAvailable ();
static member AreWindowsPerfCountersAvailable : unit -> bool
Public Shared Function AreWindowsPerfCountersAvailable () As Boolean

返回

适用于

AreWindowsPerfCountersAvailable(ILogger)

Source:
OrleansPerfCounterTelemetryConsumer.cs

检查操作系统是否支持 Windows perf 计数器。

public static bool AreWindowsPerfCountersAvailable (Microsoft.Extensions.Logging.ILogger logger);
static member AreWindowsPerfCountersAvailable : Microsoft.Extensions.Logging.ILogger -> bool
Public Shared Function AreWindowsPerfCountersAvailable (logger As ILogger) As Boolean

参数

logger
ILogger

返回

适用于