#include <CCProfiling.h>
Public Member Functions | |
ProfilingTimer () | |
~ProfilingTimer (void) | |
bool | initWithName (const char *timerName) |
virtual std::string | getDescription () const |
const std::chrono::high_resolution_clock::time_point & | getStartTime (void) |
void | reset () |
resets the timer properties More... | |
Public Member Functions inherited from Ref | |
void | retain () |
Retains the ownership. More... | |
void | release () |
Release the ownership immediately. More... | |
Ref * | autorelease () |
Release the ownership sometime soon automatically. More... | |
unsigned int | getReferenceCount () const |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
Public Attributes | |
std::string | _nameStr |
std::chrono::high_resolution_clock::time_point | _startTime |
long | _averageTime1 |
var | _averageTime1 |
local | _averageTime1 |
long | _averageTime2 |
var | _averageTime2 |
local | _averageTime2 |
long | minTime |
var | minTime |
local | minTime |
long | maxTime |
var | maxTime |
local | maxTime |
long | totalTime |
var | totalTime |
local | totalTime |
long | numberOfCalls |
var | numberOfCalls |
local | 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... | |
ProfilingTimer | ( | ) |
~ProfilingTimer | ( | void | ) |
|
virtual |
|
inline |
bool initWithName | ( | const char * | timerName) |
void reset | ( | ) |
resets the timer properties
long _averageTime1 |
var _averageTime1 |
local _averageTime1 |
long _averageTime2 |
var _averageTime2 |
local _averageTime2 |
std::string _nameStr |
var _nameStr |
local _nameStr |
std::chrono::high_resolution_clock::time_point _startTime |
var _startTime |
local _startTime |
long maxTime |
var maxTime |
local maxTime |
long minTime |
var minTime |
local minTime |
long numberOfCalls |
var numberOfCalls |
local numberOfCalls |
long totalTime |
var totalTime |
local totalTime |