-
public class SystraceSystrace 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 enumSystrace.EventScope
-
Field Summary
Fields Modifier and Type Field Description public final static longTRACE_TAG_REACT_JAVA_BRIDGEpublic final static longTRACE_TAG_REACT_APPSpublic final static longTRACE_TAG_REACT_FRESCOpublic final static longTRACE_TAG_REACT_VIEWpublic final static longTRACE_TAG_REACT_JS_VM_CALLS
-
Method Summary
Modifier and Type Method Description static voidregisterListener(TraceListener listener)static voidunregisterListener(TraceListener listener)static booleanisTracing(long tag)static voidtraceInstant(long tag, String title, Systrace.EventScope scope)static voidbeginSection(long tag, String sectionName)static voidendSection(long tag)static voidbeginAsyncSection(long tag, String sectionName, int cookie)static voidbeginAsyncSection(long tag, String sectionName, int cookie, long startNanos)static voidendAsyncSection(long tag, String sectionName, int cookie)static voidendAsyncSection(long tag, String sectionName, int cookie, long endNanos)static voidtraceCounter(long tag, String counterName, int counterValue)static voidstartAsyncFlow(long tag, String sectionName, int cookie)static voidstepAsyncFlow(long tag, String sectionName, int cookie)static voidendAsyncFlow(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)
-
-
-
-