Debug.GlobalGcInvocationCount 属性

定义

返回 a #startAllocCounting() start#stopAllocCounting() stop之间的非并发 GC 调用数。

public static int GlobalGcInvocationCount { [Android.Runtime.Register("getGlobalGcInvocationCount", "()I", "")] get; }
[<get: Android.Runtime.Register("getGlobalGcInvocationCount", "()I", "")>]
static member GlobalGcInvocationCount : int

属性值

属性

注解

返回 a #startAllocCounting() start#stopAllocCounting() stop之间的非并发 GC 调用数。

此成员已弃用。 准确的计数是运行时的负担,可以删除。

Java文档android.os.Debug.getGlobalGcInvocationCount()

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于