Class CCProfiler

#include <Geode/cocos/support/CCProfiling.h>
classCCProfiler:publiccocos2d::CCObject{ ... }

CCProfiler cocos2d builtin profiler. To use it, enable set the CC_ENABLE_PROFILERS=1 in the ccConfig.h file

Examples0
Public static methods1
staticcocos2d::CCProfiler*sharedProfiler()
No description provided
Public member functions5
voiddisplayTimers()

display the timers

boolinit()
No description provided
cocos2d::CCProfilingTimer*createAndAddTimerWithName(
charconst*timerName
)

Creates and adds a new timer

voidreleaseTimer(
charconst*timerName
)

releases a timer

voidreleaseAllTimers()

releases all timers

Fields1
cocos2d::CCDictionary*m_pActiveTimers
;
No description provided
Protected member functions0
Protected fields0