OOPerformanceMemoryProfilingStatistics.h
1 #import <Foundation/Foundation.h>
2 #import <mach/mach.h>
3 #import "OOPerformanceStatisticsProtocol.h"
4 
9 @interface OOPerformanceMemoryProfilingStatistics : NSObject <OOPerformanceStatisticsProtocol>
10 
11 // see mach's task_info.h's mach_task_basic_info.
12 @property (nonatomic, readonly) mach_vm_size_t smallestVirtualSize;
13 @property (nonatomic, readonly) mach_vm_size_t biggestVirtualSize;
14 @property (nonatomic, readonly) double averageVirtualSize;
15 @property (nonatomic, readonly) mach_vm_size_t smallestResidentSize;
16 @property (nonatomic, readonly) mach_vm_size_t biggestResidentSize;
17 @property (nonatomic, readonly) double averageResidentSize;
18 @property (nonatomic, readonly) mach_vm_size_t resident_size_max;
20 -(instancetype) init __attribute__((unavailable("init not available")));
21 -(instancetype) initWithName:(NSString*)name;
22 -(void) mergeMemoryInfo:(mach_task_basic_info_t)memoryInfo;
23 
24 @end
double averageResidentSize
windowed moving average.
Definition: OOPerformanceMemoryProfilingStatistics.h:17
double averageVirtualSize
windowed moving average.
Definition: OOPerformanceMemoryProfilingStatistics.h:14
mach_vm_size_t biggestVirtualSize
Definition: OOPerformanceMemoryProfilingStatistics.h:13
(unavailable("init not available" __attribute__()
mach_vm_size_t resident_size_max
as reported by the system, rather than our own sampling.
Definition: OOPerformanceMemoryProfilingStatistics.h:18
mach_vm_size_t smallestResidentSize
Definition: OOPerformanceMemoryProfilingStatistics.h:15
mach_vm_size_t smallestVirtualSize
Definition: OOPerformanceMemoryProfilingStatistics.h:12
Memory profiling related data.
Definition: OOPerformanceMemoryProfilingStatistics.h:9
mach_vm_size_t biggestResidentSize
Definition: OOPerformanceMemoryProfilingStatistics.h:16