![]() |
VR-Forces 5.0.1 Developer's Guide
|
A stats which shows the IG's performance stats.
Classes | |
| struct | StatData |
Public Types | |
| typedef std::vector< StatData * > | StatList |
| typedef std::map< std::string, StatList * > | GroupMap |
Public Member Functions | |
| DtPerformanceStats (DtDe &de) | |
| virtual | ~DtPerformanceStats () |
| virtual void | reset () |
| virtual void | addLabel (const std::string &group, const std::string &name) |
| virtual void | removeLabel (const std::string &group, const std::string &name) |
| virtual void | updateCallback () |
| virtual const GroupMap & | groupData () const |
Public Attributes | |
| boost::signalslib::signal < void(const std::string &)> | signal_statsChanged |
Protected Member Functions | |
| virtual void | updateGroupNodeList () |
| virtual void | updateFrameTimes () |
| virtual void | appendToString (const std::string &str) |
| virtual bool | findNodes (DtProfileNode *parent, const std::string &name, std::vector< DtProfileNode * > &found) |
Protected Attributes | |
| DtDe & | myDe |
| GroupMap | myGroupData |
| int | myCurrentFrameIndex |
| int | myPrevousEvictionCount |
| int | myPreviousEvictionMemory |
| std::string | myStatsInString |
| int | myFramesLowerThan30FPS |
| int | myFramesLowerThan60FPS |
| int | myFramesRendered |
| typedef std::vector<StatData*> makVrv::DtPerformanceStats::StatList |
| typedef std::map<std::string, StatList*> makVrv::DtPerformanceStats::GroupMap |
| makVrv::DtPerformanceStats::DtPerformanceStats | ( | DtDe & | de | ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
|
virtual |
Add a stats label with specified name and top left location.
|
virtual |
|
virtual |
Function called via update callback registered with the de.
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
append a string to myStatsInString, will add '
' in the end.
|
protectedvirtual |
| boost::signalslib::signal<void(const std::string&)> makVrv::DtPerformanceStats::signal_statsChanged |
Signals when the stats string changed.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |