Debug.ThreadAllocSize 属性

定义

返回由运行时在 a #startAllocCounting() start#stopAllocCounting() stop之间分配的对象线程本地大小。

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

属性值

分配的大小(以字节为单位)。

属性

注解

返回由运行时在 a #startAllocCounting() start#stopAllocCounting() stop之间分配的对象线程本地大小。

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

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

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

适用于