語言

Debug.GlobalGcInvocationCount 屬性

定義

警告

deprecated

回傳 a #startAllocCounting() start 與 #stopAllocCounting() stop之間的非並行 GC 調用次數。

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

屬性值

a 與 #stopAllocCounting() stop之間非並行的 GC 調用#startAllocCounting() start次數。

屬性

備註

回傳 a #startAllocCounting() start 與 #stopAllocCounting() stop之間的非並行 GC 調用次數。

此會員已被棄用。 精確的計數會增加執行時間的負擔,且可以被移除。

Java 文件 android.os.Debug.getGlobalGcInvocationCount()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於