Inherits from NSObject
Declared in CCProfiling.h

Overview

CCProfiler cocos2d builtin profiler.

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

Tasks

Other Methods

Other Methods

Class Methods

sharedProfiler

shared instance

+ (CCProfiler *)sharedProfiler

Declared In

CCProfiling.h

timerWithName:andInstance:

Instance Methods

createAndAddTimerWithName:

Creates and adds a new timer

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

Declared In

CCProfiling.h

displayTimers

display the timers

- (void)displayTimers

Declared In

CCProfiling.h

releaseAllTimers

releases all timers

- (void)releaseAllTimers

Declared In

CCProfiling.h

releaseTimer:

releases a timer

- (void)releaseTimer:(NSString *)timerName

Declared In

CCProfiling.h