Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bart Louwers <bart@emeel.net>
33 lines
830 B
Objective-C
33 lines
830 B
Objective-C
#import "Mapbox.h"
|
|
|
|
@interface MLNMapView (Experimental)
|
|
|
|
// MARK: Rendering Performance Measurement
|
|
|
|
/** Enable rendering performance measurement. */
|
|
@property (nonatomic) BOOL experimental_enableFrameRateMeasurement;
|
|
|
|
/**
|
|
Average frames per second over the previous second, updated once per second.
|
|
|
|
Requires `experimental_enableFrameRateMeasurement`.
|
|
*/
|
|
@property (nonatomic, readonly) CGFloat averageFrameRate;
|
|
|
|
/**
|
|
Frame render duration for the previous frame, updated instantaneously.
|
|
|
|
Requires `experimental_enableFrameRateMeasurement`.
|
|
*/
|
|
@property (nonatomic, readonly) CFTimeInterval frameTime;
|
|
|
|
/**
|
|
Average frame render duration over the previous second, updated once per
|
|
second.
|
|
|
|
Requires `experimental_enableFrameRateMeasurement`.
|
|
*/
|
|
@property (nonatomic, readonly) CFTimeInterval averageFrameTime;
|
|
|
|
@end
|