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

The PWRateProfiler class is an implementation of the PWProfilerDelegate protocol; it records the number of ticks in a given window.

Constructors

(id) - initWithWindow:
 

Public Functions

(void) - appendAbsoluteValue:
 
(void) - appendRelativeChange:
 
(PWXmlElement *) - profilerInfo
 

Properties

double rate
 

Methods Descriptions

- (void) appendAbsoluteValue: (double)  value

Sets an absolute value for this rate profiler. The updated rate will reflect the difference in subsequent absolute values.

- (void) appendRelativeChange: (double)  value

Updates the current value for this rate profiler. The updated rate will reflect value and number of calls to appendRelativeChange.

- (id) initWithWindow: (NSTimeInterval)  window

Initializes an instance of the PWRateProfiler object.

- (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) rate
readnonatomicassign

The current rate, in Hertz.