react-native/ReactCommon/cxxreact/JSCSamplingProfiler.h

17 lines
289 B
C++

// 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