blob: 94f8d67fb0cd694d6476c884292d33d25cfa113b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#import <Mapbox/Mapbox.h>
@interface MGLMapView (Experimental)
#pragma 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
|