cocos2d-iphone  2.1
Improved Cocos2D API Reference (iOS version) for developers
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
CCProfiler Class Reference

#import <CCProfiling.h>

List of all members.

Public Member Functions

(CCProfilingTimer *) - createAndAddTimerWithName:
(void) - releaseTimer:
(void) - releaseAllTimers
(void) - displayTimers

Static Public Member Functions

(CCProfiler *) + sharedProfiler

Public Attributes

NSMutableDictionary * activeTimers

Detailed Description

CCProfiler cocos2d builtin profiler.

To use it, enable set the CC_ENABLE_PROFILERS=1 in the ccConfig.h file

Member Function Documentation

- (CCProfilingTimer*) createAndAddTimerWithName: (NSString *)  timerName

Creates and adds a new timer

- (void) displayTimers

display the timers

- (void) releaseAllTimers

releases all timers

- (void) releaseTimer: (NSString *)  timerName

releases a timer

shared instance

The documentation for this class was generated from the following file: