TimingLogger.Reset Method

Definition

Overloads

Reset()

Clear and initialize a TimingLogger object that will log using the tag and label that was specified previously, either via the constructor or a call to reset(tag, label).

Reset(String, String)

Clear and initialize a TimingLogger object that will log using the specific tag.

Reset()

Clear and initialize a TimingLogger object that will log using the tag and label that was specified previously, either via the constructor or a call to reset(tag, label).

[Android.Runtime.Register("reset", "()V", "GetResetHandler")]
public virtual void Reset ();
[<Android.Runtime.Register("reset", "()V", "GetResetHandler")>]
abstract member Reset : unit -> unit
override this.Reset : unit -> unit
Attributes

Remarks

Clear and initialize a TimingLogger object that will log using the tag and label that was specified previously, either via the constructor or a call to reset(tag, label). If the Log.isLoggable is not enabled to at least the Log.VERBOSE level for that tag at creation time then the addSplit and dumpToLog call will do nothing.

Java documentation for android.util.TimingLogger.reset().

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

Reset(String, String)

Clear and initialize a TimingLogger object that will log using the specific tag.

[Android.Runtime.Register("reset", "(Ljava/lang/String;Ljava/lang/String;)V", "GetReset_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual void Reset (string? tag, string? label);
[<Android.Runtime.Register("reset", "(Ljava/lang/String;Ljava/lang/String;)V", "GetReset_Ljava_lang_String_Ljava_lang_String_Handler")>]
abstract member Reset : string * string -> unit
override this.Reset : string * string -> unit

Parameters

tag
String

the log tag to use while logging the timings

label
String

a string to be displayed with each log

Attributes

Remarks

Clear and initialize a TimingLogger object that will log using the specific tag. If the Log.isLoggable is not enabled to at least the Log.VERBOSE level for that tag at creation time then the addSplit and dumpToLog call will do nothing.

Java documentation for android.util.TimingLogger.reset(java.lang.String, java.lang.String).

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