react-native/React/Modules/RCTJSCSamplingProfiler.h

22 lines
597 B
C
Raw Normal View History

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <Foundation/Foundation.h>
#import <React/RCTBridgeModule.h>
@interface RCTJSCSamplingProfiler : NSObject <RCTBridgeModule>
/**
* Receives a JSON string containing the result of a JSC CPU Profiling run,
* and sends them to the packager to be symbolicated and saved to disk.
* It is safe to call this method from any thread.
*/
- (void)operationCompletedWithResults:(NSString *)results;
@end