語言

Debug.ResetThreadGcInvocationCount 方法

定義

警告

deprecated

清除執行緒本地中非並行的GC調用計數。

[Android.Runtime.Register("resetThreadGcInvocationCount", "()V", "")]
[System.Obsolete("deprecated")]
public static void ResetThreadGcInvocationCount();
[<Android.Runtime.Register("resetThreadGcInvocationCount", "()V", "")>]
[<System.Obsolete("deprecated")>]
static member ResetThreadGcInvocationCount : unit -> unit
屬性

備註

清除執行緒本地中非並行的GC調用計數。

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

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

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

適用於

另請參閱