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

The PWSimpleMovingAverageProfiler class is an implementation of the PWProfilerDelegate protocol; it records a simple moving average value.

Constructors

(id) - initWithSize:
 

Public Functions

(double) - append:
 
(PWXmlElement *) - profilerInfo
 
(void) - reset
 

Properties

double value
 

Methods Descriptions

- (double) append: (double)  newest

Appends the newest value.

- (id) initWithSize: (NSUInteger)  size

Initializes a new instance of PWSimpleMovingAverageProfiler.

- (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>.

- (void) reset

Resets the profiler to zero.

Properties Descriptions

- (double) value
readwritenonatomicassign

The current value of the profiler.