MBMPerfStatsCollectionOptions
@interface MBMPerfStatsCollectionOptions : NSObject
Options used to configure performance sampling
-
Unavailable
Undocumented
Declaration
Objective-C
- (nonnull instancetype)init NS_UNAVAILABLE;
-
Unavailable
Undocumented
Declaration
Objective-C
+ (nonnull instancetype)new NS_UNAVAILABLE;
-
Undocumented
Declaration
Objective-C
- (nonnull instancetype)initWithSamplerOptions:(nonnull NSArray<NSNumber *> *)samplerOptions;
Swift
init(samplerOptions: [NSNumber])
-
Undocumented
Declaration
Objective-C
- (nonnull instancetype)initWithSamplerOptions:(nonnull NSArray<NSNumber *> *)samplerOptions framesPerSample:(uint32_t)framesPerSample;
Swift
init(samplerOptions: [NSNumber], framesPerSample: UInt32)
-
List of samplers to be used to collect performance statistics. Leaving the array empty means that the sampling is disbled.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nonnull) NSArray<NSNumber *> *samplerOptions;
Swift
var samplerOptions: [NSNumber] { get }
-
Number of frames to sample before the statistics event is emitted.
Note: Lower values have higher effect on the performance. Errored frames are ignored and they are not counted in the number of samples.
Declaration
Objective-C
@property (nonatomic, readonly) uint32_t framesPerSample;
Swift
var framesPerSample: UInt32 { get }