OOPerformanceStartEndStatistics.h
1 #import <Foundation/Foundation.h>
2 #import "OOPerformanceStatisticsProtocol.h"
3 
10 @interface OOPerformanceStartEndStatistics : NSObject <OOPerformanceStatisticsProtocol>
11 @property (nonatomic, readonly) NSTimeInterval totalTime;
12 @property (nonatomic, readonly) NSTimeInterval smallestTime;
13 @property (nonatomic, readonly) NSTimeInterval biggestTime;
14 @property (nonatomic, readonly) double averageTime;
15 -(instancetype) init __attribute__((unavailable("init not available")));
16 -(instancetype) initWithName:(NSString*)name;
17 -(void) mergeTimeInterval:(NSTimeInterval)time;
18 @end
Keep track of the time taken between the start and end events.
Definition: OOPerformanceStartEndStatistics.h:10
NSTimeInterval smallestTime
Definition: OOPerformanceStartEndStatistics.h:12
(unavailable("init not available" __attribute__()
NSTimeInterval totalTime
Definition: OOPerformanceStartEndStatistics.h:11
NSTimeInterval biggestTime
Definition: OOPerformanceStartEndStatistics.h:13
double averageTime
Definition: OOPerformanceStartEndStatistics.h:14