FileDocCategorySizeDatePackage
Trace.javaAPI DocAndroid 5.1 API1511Thu Mar 12 22:22:50 GMT 2015com.android.bitmap.util

Trace

public abstract class Trace extends Object
Stand-in for {@link android.os.Trace}.

Fields Summary
Constructors Summary
Methods Summary
public static voidbeginSection(java.lang.String tag)
Begins systrace tracing for a given tag. No-op on unsupported platform versions.

param
tag systrace tag to use
see
android.os.Trace#beginSection(String)

        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) {
            android.os.Trace.beginSection(tag);
        }
    
public static voidendSection()
Ends systrace tracing for the most recently begun section. No-op on unsupported platform versions.

see
android.os.Trace#endSection()

        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) {
            android.os.Trace.endSection();
        }