@UnstableApi
public final class TraceUtil


Calls through to android.os.Trace methods on supported API levels.

Summary

Public methods

static void
beginSection(String sectionName)

Writes a trace message to indicate that a given section of code has begun.

static void

Writes a trace message to indicate that a given section of code has ended.

Public methods

beginSection

public static void beginSection(String sectionName)

Writes a trace message to indicate that a given section of code has begun.

Parameters
String sectionName

The name of the code section to appear in the trace. This may be at most 127 Unicode code units long.

See also
beginSection

endSection

public static void endSection()

Writes a trace message to indicate that a given section of code has ended.

See also
endSection