mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 09:12:02 +00:00
5e09242e26
Reviewed By: javache Differential Revision: D4889427 fbshipit-source-id: 1f74416b858134ec3682b1302021131114763881
24 lines
717 B
Objective-C
24 lines
717 B
Objective-C
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
|
|
#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
|