Objective-C API Library Reference  4.3.0-42-g45f162a
 All Classes Functions Typedefs Properties Pages
Public Functions | Properties | List of all members
PWProfilerManager Class Reference

The PWProfilerManager class manages aggregating profiler information and storing it in application state.

Constructors

(id) - initWithFramework:
 
(id) - initWithInterval:
 
(id) - initWithInterval:framework:
 

Public Functions

(void) - registerProfilerWithPath:profiler:
 
(void) - startUpdating
 
(void) - stopUpdating
 
(void) - unregisterProfilerWithPath:
 

Properties

PWFrameworkframework
 
BOOL isUpdating
 
NSTimeInterval updateInterval
 

Methods Descriptions

- (id) initWithFramework: (PWFramework *)  framework

Initializes an instance of the PWProfilerManager object.

- (id) initWithInterval: (NSTimeInterval)  interval

Initializes an instance of the PWProfilerManager object with the specified interval.

- (id) initWithInterval: (NSTimeInterval)  interval
framework: (PWFramework *)  framework 

Initializes an instance of the PWProfilerManager object with the specified interval and framework.

- (void) registerProfilerWithPath: (NSString *)  path
profiler: (NSObject *)  profiler 

Registers an implementation of PWProfiler with this PWProfilerManager.

- (void) startUpdating

Triggers the PWProfilerManager to start aggregating profiler information to application state.

- (void) stopUpdating

Triggers the PWProfilerManager to stop aggregating profiler information to application state.

- (void) unregisterProfilerWithPath: (NSString *)  path

Releases connection to PWProfilerManager so that it no longer stores this profiler's information.

Properties Descriptions

- (PWFramework*) framework
readwritenonatomicweak

The framework instance. Defaults to null if not specified.

- (BOOL) isUpdating
readwritenonatomicassign

A Boolean value that indicates whether the profiler is updating.

- (NSTimeInterval) updateInterval
readwritenonatomicassign

The time interval (in milliseconds) between successive updates of the profiler information to application state. Defaults to 1000 ms if not specified.