react-native/ReactCommon/cxxreact/JSCSamplingProfiler.h

17 lines
287 B
C
Raw Normal View History

// Copyright 2004-present Facebook. All Rights Reserved.
#pragma once
#ifdef WITH_JSC_EXTRA_TRACING
#include <jschelpers/JavaScriptCore.h>
namespace facebook {
namespace react {
void initSamplingProfilerOnMainJSCThread(JSGlobalContextRef ctx);
}
}
#endif // WITH_JSC_EXTRA_TRACING