react-native/ReactCommon/cxxreact/JSCLegacyProfiler.h
Pieter De Baets e541d9b108 Define wrapper versions of all JSC methods
Reviewed By: bnham

Differential Revision: D4197369

fbshipit-source-id: 53869fe1b56010c8a5330025d06ef557369e4957
2016-11-22 06:13:33 -08:00

21 lines
355 B
C++

// Copyright 2004-present Facebook. All Rights Reserved.
#pragma once
#ifdef WITH_JSC_EXTRA_TRACING
#include <jschelpers/JavaScriptCore.h>
namespace facebook {
namespace react {
void addNativeProfilingHooks(JSGlobalContextRef ctx);
void stopAndOutputProfilingFile(
JSContextRef ctx,
JSStringRef title,
const char *filename);
} }
#endif