语言

Debug.GlobalClassInitTime 属性

定义

注意

deprecated

返回在 a #startAllocCounting() start 和 #stopAllocCounting() stop之间成功初始化类所花费的时间。

[System.Obsolete("deprecated")]
public static int GlobalClassInitTime { [Android.Runtime.Register("getGlobalClassInitTime", "()I", "")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getGlobalClassInitTime", "()I", "")>]
static member GlobalClassInitTime : int

属性值

在 a #startAllocCounting() start 和 #stopAllocCounting() stop. 之间成功初始化类所花费的时间。

属性

注解

返回在 a #startAllocCounting() start 和 #stopAllocCounting() stop之间成功初始化类所花费的时间。

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

Java文档android.os.Debug.getGlobalClassInitTime()。

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

适用于