Share via


Debug.ResetAllCounts Method

Definition

Clears all the global and thread-local memory allocation counters.

[Android.Runtime.Register("resetAllCounts", "()V", "")]
public static void ResetAllCounts ();
[<Android.Runtime.Register("resetAllCounts", "()V", "")>]
static member ResetAllCounts : unit -> unit
Attributes

Remarks

Clears all the global and thread-local memory allocation counters.

This member is deprecated. Accurate counting is a burden on the runtime and may be removed.

Java documentation for android.os.Debug.resetAllCounts().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also