cocos2d-x  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCProfilingTimer Class Reference

#include <CCProfiling.h>

Inheritance diagram for CCProfilingTimer:
CCObject CCCopying

Public Member Functions

 CCProfilingTimer ()
 ~CCProfilingTimer ()
bool initWithName (const char *timerName)
const char * description (void)
struct cc_timevalgetStartTime (void)
void reset ()
 resets the timer properties More...
- Public Member Functions inherited from CCObject
 CCObject (void)
virtual ~CCObject (void)
void release (void)
void retain (void)
CCObjectautorelease (void)
CCObjectcopy (void)
bool isSingleReference (void) const
unsigned int retainCount (void) const
virtual bool isEqual (const CCObject *pObject)
virtual void acceptVisitor (CCDataVisitor &visitor)
virtual void update (float dt)
- Public Member Functions inherited from CCCopying
virtual CCObjectcopyWithZone (CCZone *pZone)

Public Attributes

std::string m_NameStr
int numberOfCalls
int m_dAverageTime1
int m_dAverageTime2
long long totalTime
int minTime
int maxTime
struct cc_timeval m_sStartTime
- Public Attributes inherited from CCObject
unsigned int m_uID
int m_nLuaID

Additional Inherited Members

- Protected Attributes inherited from CCObject
unsigned int m_uReference
unsigned int m_uAutoReleaseCount

Constructor & Destructor Documentation

Member Function Documentation

const char* description ( void  )
struct cc_timeval* getStartTime ( void  )
bool initWithName ( const char *  timerName)
void reset ( )

resets the timer properties

Member Data Documentation

int m_dAverageTime1
int m_dAverageTime2
std::string m_NameStr
struct cc_timeval m_sStartTime
int maxTime
int minTime
int numberOfCalls
long long totalTime

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