Rename BridgeProfiling to Systrace for consistency

Summary:
public

Rename the `BridgeProfiling` JS module to `Systrace`, since it's actually just
an API to Systrace markers.

This should make it clearer as we add more perf tooling.

Reviewed By: jspahrsummers

Differential Revision: D2734001

fb-gh-sync-id: 642848fa7340c545067f2a7cf5cef8af1c8a69a2
This commit is contained in:
Tadeu Zagallo
2015-12-11 03:49:15 -08:00
committed by facebook-github-bot-7
parent 44cbec28bd
commit 3549ff049c
10 changed files with 53 additions and 54 deletions

View File

@@ -469,12 +469,12 @@ public class CatalystInstanceImpl implements CatalystInstance {
private class JSProfilerTraceListener implements TraceListener {
@Override
public void onTraceStarted() {
getJSModule(BridgeProfiling.class).setEnabled(true);
getJSModule(com.facebook.react.bridge.Systrace.class).setEnabled(true);
}
@Override
public void onTraceStopped() {
getJSModule(BridgeProfiling.class).setEnabled(false);
getJSModule(com.facebook.react.bridge.Systrace.class).setEnabled(false);
}
}