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.


(id) - initWithSize:

Public Functions

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


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

The cumulative average of all the values.

- (double) lastValue

The last value recorded.

- (double) movingAverage

The average of the last 10 values.