mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 12:15:37 +08:00
Create tracing name in C++ instead of Java
Reviewed By: mhorowitz Differential Revision: D3469140 fbshipit-source-id: 77a00a7150573e44f219972556cbb936a57d7054
This commit is contained in:
committed by
Facebook Github Bot 1
parent
af24e8001a
commit
95401aba72
@@ -102,10 +102,9 @@ void Instance::setGlobalVariable(std::string propName,
|
||||
}
|
||||
|
||||
void Instance::callJSFunction(ExecutorToken token, const std::string& module, const std::string& method,
|
||||
folly::dynamic&& params, const std::string& tracingName) {
|
||||
SystraceSection s(tracingName.c_str());
|
||||
folly::dynamic&& params) {
|
||||
callback_->incrementPendingJSCalls();
|
||||
nativeToJsBridge_->callFunction(token, module, method, std::move(params), tracingName);
|
||||
nativeToJsBridge_->callFunction(token, module, method, std::move(params));
|
||||
}
|
||||
|
||||
void Instance::callJSCallback(ExecutorToken token, uint64_t callbackId, folly::dynamic&& params) {
|
||||
|
||||
Reference in New Issue
Block a user