Share via


JitInfo.GetCompiledMethodCount(Boolean) 方法

定义

获取已编译的方法数。 如果 currentThreadtrue,则此值的范围限定为当前线程;否则,此值为全局值。

public static long GetCompiledMethodCount (bool currentThread = false);
static member GetCompiledMethodCount : bool -> int64
Public Shared Function GetCompiledMethodCount (Optional currentThread As Boolean = false) As Long

参数

currentThread
Boolean

true 返回特定于当前线程的值; false 返回全局值。 默认值为 false

返回

JIT 编译的方法数。

适用于