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

#include <CCProfiling.h>

Inheritance diagram for ProfilingTimer:
Ref

Public Member Functions

 ProfilingTimer ()
 NA NA More...
 
 ~ProfilingTimer (void)
 NA NA More...
 
bool initWithName (const char *timerName)
 NA NA More...
 
virtual std::string getDescription () const
 NA NA More...
 
const
std::chrono::high_resolution_clock::time_point & 
getStartTime (void)
 NA NA More...
 
void reset ()
 resets the timer properties NA NA More...
 
- Public Member Functions inherited from Ref
void retain ()
 Retains the ownership. More...
 
void release ()
 Releases the ownership immediately. More...
 
Refautorelease ()
 Releases the ownership sometime soon automatically. More...
 
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()
 NA NA More...
 

Public Attributes

std::string _nameStr
 
std::chrono::high_resolution_clock::time_point _startTime
 
long _averageTime1
 
long _averageTime2
 
long minTime
 
long maxTime
 
long totalTime
 
long numberOfCalls
 

Additional Inherited Members

- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 

Constructor & Destructor Documentation

NA NA

~ProfilingTimer ( void  )

NA NA

Member Function Documentation

virtual std::string getDescription ( ) const
virtual

NA NA

const std::chrono::high_resolution_clock::time_point& getStartTime ( void  )
inline

NA NA

bool initWithName ( const char *  timerName)

NA NA

void reset ( )

resets the timer properties NA NA

Member Data Documentation

long _averageTime1
long _averageTime2
std::string _nameStr
std::chrono::high_resolution_clock::time_point _startTime
long maxTime
long minTime
long numberOfCalls
long totalTime

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