![]() |
VR-Forces Developer's Guide
|
class that gathers per frame stats and puts up UI
Classes | |
| struct | DatabasePagerData |
| struct | GPUData |
| struct | OsgObjectData |
| struct | OsgSceneGraphCameraStats |
| struct | PagingTime |
Public Types | |
| enum | ProfilerOverlayStates { ProfilerOverlayStates_OFF = 0, ProfilerOverlayStates_FPS = 1, ProfilerOverlayStates_FULL = 2 } |
Public Member Functions | |
| DtImGuiLoaderStatsData (DtDe &de) | |
| virtual | ~DtImGuiLoaderStatsData () |
| DtImGuiLoaderStatsData (const DtImGuiLoaderStatsData &rhs)=delete | |
| DtImGuiLoaderStatsData & | operator= (const DtImGuiLoaderStatsData &rhs)=delete |
| virtual void | updateStats (DtDe &de, osg::Camera *camera, osg::FrameStamp *frameStamp, osgDB::DatabasePager *databasePager, int mipthreads) |
| virtual void | createUI (osg::RenderInfo &renderInfo, DtDe &de, unsigned int state) |
| virtual int | getNumberOf60HtzFrames () |
| virtual float | getGoodFrameDuration () |
| virtual int | getNumberOfBlownFrames () |
| virtual float | getBlownFrameDuration () |
| virtual int | getNumberOfVeryBlownFrames () |
| virtual float | getVeryBlownFrameDuration () |
| virtual void | reset () |
| virtual void | setStatsHandler (DtOsgStatsHandler *stats) |
| virtual void | updateGpuStats (DtDe &de) |
| virtual void | addIntStat (const std::string &name, int value) |
| virtual void | addFloatStat (const std::string &name, float value) |
| virtual void | addIntStat (const std::string &subsystem, const std::string &name, int value) |
| virtual void | addFloatStat (const std::string &subsystem, const std::string &name, float value) |
| float | getLastCullTime () |
| float | getLastUpdateTime () |
| float | getLastDrawTime () |
| float | getLastGpuTime () |
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 | |
| virtual int | treeTraverse (DtProfileNode *node, int depth) |
| virtual void | printOsgTextures (void) |
| void | printOsgEarthGLMemory (void) |
| virtual void | printVrvTextures (void) |
| virtual void | printVrvBuffers (void) |
| virtual void | printTextureBreaksup (const std::unordered_map< unsigned int, int > &textures) |
| virtual void | updateVrvGpuArenaStats (DtDe &de) |
| virtual void | createVrvGpuArenaStats () |
|
protected |
|
protected |
|
protected |
| makVrv::DtImGuiLoaderStatsData::DtImGuiLoaderStatsData | ( | DtDe & | de | ) |
constructor
|
virtual |
destructor
|
delete |
not allowed
|
delete |
not allowed
|
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 top level int stat
|
virtual |
brief imgui loader stats currently added to loader perf page subcategory float stat
|
virtual |
brief imgui loader stats currently added to loader perf page top level int stat
|
virtual |
brief imgui loader stats currently added to loader perf page subcategory float stat
| float makVrv::DtImGuiLoaderStatsData::getLastCullTime | ( | ) |
helper functions for auto tests
| float makVrv::DtImGuiLoaderStatsData::getLastUpdateTime | ( | ) |
helper functions for auto tests
| float makVrv::DtImGuiLoaderStatsData::getLastDrawTime | ( | ) |
helper functions for auto tests
| float makVrv::DtImGuiLoaderStatsData::getLastGpuTime | ( | ) |
helper functions for auto tests
|
protectedvirtual |
|
protectedvirtual |
print stats of osg textures
|
protected |
print stats of osgEarth textures + buffers
|
protectedvirtual |
print stats of vrv textures
|
protectedvirtual |
print stats of vrv resident/non-resident buffers
|
protectedvirtual |
additional details of the textures
|
protectedvirtual |
Called during updateStats to update the vrv gpu arena stats.
|
protectedvirtual |
Called during createUI to create the vrv gpu arena stats.
| 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 |
|
protected |
|
protected |
|
protected |