Fraxinus
16.5.0-fx-rc7
An IGT application
|
#include <cxCyclicActionLogger.h>
Public Member Functions | |
CyclicActionLogger () | |
CyclicActionLogger (QString name) | |
void | reset (int interval=1000) |
void | begin () |
start timing for this cycle More... | |
void | time (QString id) |
store time from begin or last time() More... | |
double | getFPS () |
bool | intervalPassed () const |
QString | dumpStatistics () |
QString | dumpStatisticsSmall () |
int | getTime (QString id) |
int | getTotalLoggedTime () |
Total time contained in entered id's (id outside is not counted) More... | |
Helper class for counting time spent by the rendering process or other process running in a cycle.
Definition at line 59 of file cxCyclicActionLogger.h.
cx::CyclicActionLogger::CyclicActionLogger | ( | ) |
Definition at line 45 of file cxCyclicActionLogger.cpp.
|
explicit |
Definition at line 52 of file cxCyclicActionLogger.cpp.
void cx::CyclicActionLogger::begin | ( | ) |
start timing for this cycle
Definition at line 67 of file cxCyclicActionLogger.cpp.
QString cx::CyclicActionLogger::dumpStatistics | ( | ) |
Definition at line 105 of file cxCyclicActionLogger.cpp.
QString cx::CyclicActionLogger::dumpStatisticsSmall | ( | ) |
Definition at line 146 of file cxCyclicActionLogger.cpp.
double cx::CyclicActionLogger::getFPS | ( | ) |
return frames per second during the last interval.
Definition at line 91 of file cxCyclicActionLogger.cpp.
int cx::CyclicActionLogger::getTime | ( | QString | id | ) |
Definition at line 190 of file cxCyclicActionLogger.cpp.
int cx::CyclicActionLogger::getTotalLoggedTime | ( | ) |
Total time contained in entered id's (id outside is not counted)
Definition at line 212 of file cxCyclicActionLogger.cpp.
bool cx::CyclicActionLogger::intervalPassed | ( | ) | const |
Definition at line 100 of file cxCyclicActionLogger.cpp.
void cx::CyclicActionLogger::reset | ( | int | interval = 1000 | ) |
Definition at line 60 of file cxCyclicActionLogger.cpp.
void cx::CyclicActionLogger::time | ( | QString | id | ) |
store time from begin or last time()
Definition at line 72 of file cxCyclicActionLogger.cpp.