Debug.GlobalClassInitTime 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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 屬性授權中所述的詞彙使用。