2015-06-19 21:59:42 +00:00
|
|
|
/**
|
|
|
|
* 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 "RCTDefines.h"
|
|
|
|
|
|
|
|
typedef NS_ENUM(NSUInteger, RCTPLTag) {
|
|
|
|
RCTPLScriptDownload = 0,
|
2015-08-21 18:33:04 +00:00
|
|
|
RCTPLScriptExecution,
|
|
|
|
RCTPLNativeModuleInit,
|
2015-10-08 15:41:55 +00:00
|
|
|
RCTPLNativeModulePrepareConfig,
|
2015-10-05 17:53:33 +00:00
|
|
|
RCTPLNativeModuleInjectConfig,
|
2015-06-19 21:59:42 +00:00
|
|
|
RCTPLTTI,
|
2015-10-21 17:53:35 +00:00
|
|
|
RCTPLBundleSize,
|
2015-06-19 21:59:42 +00:00
|
|
|
RCTPLSize
|
|
|
|
};
|
|
|
|
|
|
|
|
void RCTPerformanceLoggerStart(RCTPLTag tag);
|
|
|
|
void RCTPerformanceLoggerEnd(RCTPLTag tag);
|
2015-10-21 17:53:35 +00:00
|
|
|
void RCTPerformanceLoggerSet(RCTPLTag tag, int64_t value);
|
2015-11-03 22:45:46 +00:00
|
|
|
NSArray<NSNumber *> *RCTPerformanceLoggerOutput(void);
|
2015-10-30 23:51:48 +00:00
|
|
|
NSArray *RCTPerformanceLoggerLabels(void);
|