mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
#6 Notify SamplingProfiler of the main MachineThread
Reviewed By: bnham Differential Revision: D3503444 fbshipit-source-id: a2e9a692cd5badac5a15416844c8497f88021a5e
This commit is contained in:
committed by
Facebook Github Bot
parent
4843a90c1c
commit
edb9fce9c3
16
ReactCommon/cxxreact/JSCSamplingProfiler.h
Normal file
16
ReactCommon/cxxreact/JSCSamplingProfiler.h
Normal file
@@ -0,0 +1,16 @@
|
||||
// Copyright 2004-present Facebook. All Rights Reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef WITH_JSC_EXTRA_TRACING
|
||||
|
||||
#include <JavaScriptCore/JSContextRef.h>
|
||||
|
||||
namespace facebook {
|
||||
namespace react {
|
||||
|
||||
void initSamplingProfilerOnMainJSCThread(JSGlobalContextRef ctx);
|
||||
}
|
||||
}
|
||||
|
||||
#endif // WITH_JSC_EXTRA_TRACING
|
||||
Reference in New Issue
Block a user