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

The PWDurationTimerProfiler class is an implementation of the PWProfilerDelegate protocol; it records duration time.

Constructors

(id) - initWithSize:
 

Public Functions

(PWTimedEventProfiler *) - begin
 
(PWXmlElement *) - profilerInfo
 

Properties

double cumulativeAverage
 
double lastValue
 
double movingAverage
 

Methods Descriptions

- (PWTimedEventProfiler *) begin

Creates a new PWTimedEventProfiler and internally subscribes to the completion event.

- (id) initWithSize: (NSUInteger)  size

Initializes a new instance of PWDurationTimerProfiler.

- (PWXmlElement *) profilerInfo

Returns an XML element containing the profiling data; this element is added to the overall profiler information for this client.

Reimplemented from <PWProfilerDelegate>.

Properties Descriptions

- (double) cumulativeAverage
readwritenonatomicassign

The cumulative average of all the values.

- (double) lastValue
readwritenonatomicassign

The last value recorded.

- (double) movingAverage
readwritenonatomicassign

The average of the last 10 values.