mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 19:44:13 +00:00
24fe8b7e92
Reviewed By: mhorowitz Differential Revision: D3237829 fb-gh-sync-id: 348c7d1e2810400c1259e3d99c2d026da4a39816 fbshipit-source-id: 348c7d1e2810400c1259e3d99c2d026da4a39816
20 lines
356 B
C++
20 lines
356 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 addNativeProfilingHooks(JSGlobalContextRef ctx);
|
|
void stopAndOutputProfilingFile(
|
|
JSContextRef ctx,
|
|
JSStringRef title,
|
|
const char *filename);
|
|
|
|
} }
|
|
|
|
#endif
|