Debug.ThreadGcInvocationCount 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
deprecated
回傳 a #startAllocCounting() start 與 #stopAllocCounting() stop之間的執行緒本地非並行 GC 調用次數。
[System.Obsolete("deprecated")]
public static int ThreadGcInvocationCount { [Android.Runtime.Register("getThreadGcInvocationCount", "()I", "")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getThreadGcInvocationCount", "()I", "")>]
static member ThreadGcInvocationCount : int
屬性值
a 與 #stopAllocCounting() stop之間的執行緒本地非並行 GC 調用#startAllocCounting() start次數。
- 屬性
備註
回傳 a #startAllocCounting() start 與 #stopAllocCounting() stop之間的執行緒本地非並行 GC 調用次數。
此會員已被棄用。 精確的計數會增加執行時間的負擔,且可以被移除。
Java 文件 android.os.Debug.getThreadGcInvocationCount()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。