-
public class Systrace
Systrace stub that mostly does nothing but delegates to Trace for beginning/ending sections. The internal version of this file has not been opensourced yet.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
Systrace.EventScope
-
Field Summary
Fields Modifier and Type Field Description public final static long
TRACE_TAG_REACT_JAVA_BRIDGE
public final static long
TRACE_TAG_REACT_APPS
public final static long
TRACE_TAG_REACT_FRESCO
public final static long
TRACE_TAG_REACT_VIEW
public final static long
TRACE_TAG_REACT_JS_VM_CALLS
-
Method Summary
Modifier and Type Method Description static void
registerListener(TraceListener listener)
static void
unregisterListener(TraceListener listener)
static boolean
isTracing(long tag)
static void
traceInstant(long tag, String title, Systrace.EventScope scope)
static void
beginSection(long tag, String sectionName)
static void
endSection(long tag)
static void
beginAsyncSection(long tag, String sectionName, int cookie)
static void
beginAsyncSection(long tag, String sectionName, int cookie, long startNanos)
static void
endAsyncSection(long tag, String sectionName, int cookie)
static void
endAsyncSection(long tag, String sectionName, int cookie, long endNanos)
static void
traceCounter(long tag, String counterName, int counterValue)
static void
startAsyncFlow(long tag, String sectionName, int cookie)
static void
stepAsyncFlow(long tag, String sectionName, int cookie)
static void
endAsyncFlow(long tag, String sectionName, int cookie)
-
-
Method Detail
-
registerListener
static void registerListener(TraceListener listener)
-
unregisterListener
static void unregisterListener(TraceListener listener)
-
isTracing
static boolean isTracing(long tag)
-
traceInstant
static void traceInstant(long tag, String title, Systrace.EventScope scope)
-
beginSection
static void beginSection(long tag, String sectionName)
-
endSection
static void endSection(long tag)
-
beginAsyncSection
static void beginAsyncSection(long tag, String sectionName, int cookie)
-
beginAsyncSection
static void beginAsyncSection(long tag, String sectionName, int cookie, long startNanos)
-
endAsyncSection
static void endAsyncSection(long tag, String sectionName, int cookie)
-
endAsyncSection
static void endAsyncSection(long tag, String sectionName, int cookie, long endNanos)
-
traceCounter
static void traceCounter(long tag, String counterName, int counterValue)
-
startAsyncFlow
static void startAsyncFlow(long tag, String sectionName, int cookie)
-
stepAsyncFlow
static void stepAsyncFlow(long tag, String sectionName, int cookie)
-
endAsyncFlow
static void endAsyncFlow(long tag, String sectionName, int cookie)
-
-
-
-