![]() |
VR-Forces 4.10 Class Documentation
|
class that gathers per frame stats and puts up UI More...
Classes | |
| struct | DatabasePagerData |
| Structure for holding the stats from the osg database pager. More... | |
| struct | GPUData |
| struct | OsgObjectData |
| struct | OsgSceneGraphCameraStats |
| Structure for holding the stats from the osg camera rendering stats. More... | |
| struct | PagingTime |
Public Types | |
| enum | ProfilerOverlayStates { ProfilerOverlayStates_OFF = 0, ProfilerOverlayStates_FPS = 1, ProfilerOverlayStates_FULL = 2 } |
Public Member Functions | |
| DtImGuiLoaderStatsData () | |
| virtual | ~DtImGuiLoaderStatsData () |
| virtual void | updateStats (DtDe &de, osg::Camera *camera, osg::FrameStamp *frameStamp, osgDB::DatabasePager *databasePager, int mipthreads) |
| updates the stats, called even when hidden More... | |
| virtual void | createUI (osg::RenderInfo &renderInfo, DtDe &de, unsigned int state) |
| adds IMGui UI More... | |
| virtual int | getNumberOf60HtzFrames () |
| how many frames were at >= 60 fps More... | |
| virtual float | getGoodFrameDuration () |
| how long we had decent frames More... | |
| virtual int | getNumberOfBlownFrames () |
| how many moderately bad frames there were More... | |
| virtual float | getBlownFrameDuration () |
| how much time was spent at moderate unacceptable speeds More... | |
| virtual int | getNumberOfVeryBlownFrames () |
| how many very bad frames there were More... | |
| virtual float | getVeryBlownFrameDuration () |
| how much time was spent at super unacceptable speeds More... | |
| virtual void | reset () |
| resets frame stats More... | |
| virtual void | setStatsHandler (DtStatsHandler *stats) |
| gui handler More... | |
| virtual void | updateGpuStats (DtDe &de) |
| gets gpu memory data More... | |
| virtual void | addIntStat (const std::string &name, int value) |
| brief imgui loader stats currently added to loader perf page More... | |
| virtual void | addFloatStat (const std::string &name, float value) |
| brief imgui loader stats currently added to loader perf page subcatagory float stat More... | |
| virtual void | addIntStat (const std::string &subsystem, const std::string &name, int value) |
| brief imgui loader stats currently added to loader perf page toplevel int stat More... | |
| virtual void | addFloatStat (const std::string &subsystem, const std::string &name, float value) |
| brief imgui loader stats currently added to loader perf page subcatagory float stat More... | |
| float | getLastCullTime () |
| helper functions for autotests More... | |
| float | getLastUpdateTime () |
| helper functions for autotests More... | |
| float | getLastDrawTime () |
| helper functions for autotests More... | |
| float | getLastGpuTime () |
| helper functions for autotests More... | |
Public Attributes | |
| const int | NUM_PAGING_ENTRIES = 4 |
Static Public Attributes | |
| static const int | GRAPH_ENTRIES = 180 |
Protected Types | |
| typedef std::map< std::string, int > | intStats |
| typedef std::map< std::string, float > | floatStats |
| typedef void(* | addProc )(makVrv::DtImGuiLoaderStatsData::GPUData *gpu) |
Protected Member Functions | |
| int | treeTraverse (DtProfileNode *node, int depth) |
class that gathers per frame stats and puts up UI
|
protected |
|
protected |
|
protected |
| makVrv::DtImGuiLoaderStatsData::DtImGuiLoaderStatsData | ( | ) |
|
virtual |
|
virtual |
updates the stats, called even when hidden
|
virtual |
adds IMGui UI
|
virtual |
how many frames were at >= 60 fps
|
virtual |
how long we had decent frames
|
virtual |
how many moderately bad frames there were
|
virtual |
how much time was spent at moderate unacceptable speeds
|
virtual |
how many very bad frames there were
|
virtual |
how much time was spent at super unacceptable speeds
|
virtual |
resets frame stats
|
inlinevirtual |
gui handler
|
virtual |
gets gpu memory data
|
virtual |
brief imgui loader stats currently added to loader perf page
toplevel int stat
|
virtual |
brief imgui loader stats currently added to loader perf page subcatagory float stat
|
virtual |
brief imgui loader stats currently added to loader perf page toplevel int stat
|
virtual |
brief imgui loader stats currently added to loader perf page subcatagory float stat
| float makVrv::DtImGuiLoaderStatsData::getLastCullTime | ( | ) |
helper functions for autotests
| float makVrv::DtImGuiLoaderStatsData::getLastUpdateTime | ( | ) |
helper functions for autotests
| float makVrv::DtImGuiLoaderStatsData::getLastDrawTime | ( | ) |
helper functions for autotests
| float makVrv::DtImGuiLoaderStatsData::getLastGpuTime | ( | ) |
helper functions for autotests
|
protected |
| const int makVrv::DtImGuiLoaderStatsData::NUM_PAGING_ENTRIES = 4 |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |