public class

FrescoSystrace

extends Object
java.lang.Object
   ↳ com.facebook.imagepipeline.systrace.FrescoSystrace

Class Overview

This is intended as a hook into android.os.Trace, but allows you to provide your own functionality. Use it as

FrescoSystrace.beginSection("tag"); ... FrescoSystrace.endSection(); As a default, it simply calls android.os.Trace (see DefaultFrescoSystrace). You may supply your own with provide(Systrace).

Summary

Nested Classes
interface FrescoSystrace.ArgsBuilder Object that accumulates arguments. 
interface FrescoSystrace.Systrace  
Fields
public static final FrescoSystrace.ArgsBuilder NO_OP_ARGS_BUILDER Convenience implementation of ArgsBuilder to use when we aren't tracing.
Public Methods
static void beginSection(String name)
static FrescoSystrace.ArgsBuilder beginSectionWithArgs(String name)
static void endSection()
static boolean isTracing()
static void provide(FrescoSystrace.Systrace instance)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final FrescoSystrace.ArgsBuilder NO_OP_ARGS_BUILDER

Convenience implementation of ArgsBuilder to use when we aren't tracing.

Public Methods

public static void beginSection (String name)

public static FrescoSystrace.ArgsBuilder beginSectionWithArgs (String name)

public static void endSection ()

public static boolean isTracing ()

public static void provide (FrescoSystrace.Systrace instance)