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

The PWEventTimerProfiler class is an implementation of the PWProfilerDelegate protocol; it records the time taken to complete an event.

Constructors

(id) - initWithInterval:
 

Public Functions

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

Properties

double dutyCycle
 
double frequency
 

Methods Descriptions

- (PWTimedEventProfiler *) begin

Triggers the start of the event.

- (id) initWithInterval: (NSTimeInterval)  interval

Initializes a new instance of the PWEventTimerProfiler class.

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

The duration of the timer.

- (double) frequency
readnonatomicassign

The number of times that the profiled event occurs in the given timeframe.