語言

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之間的類別所花費的時間。

已取代這個成員。 精確的計數會增加執行時間的負擔,且可以被移除。

的 android.os.Debug.getGlobalClassInitTime()Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於