|
| Graphic3d_FrameStatsDataTmp () |
| Empty constructor. More...
|
|
void | FlushTimers (Standard_Size theNbFrames, bool theIsFinal) |
| Compute average data considering the amount of rendered frames. More...
|
|
void | Reset () |
| Reset data. More...
|
|
void | operator= (const Graphic3d_FrameStatsData &theOther) |
| Assignment operator (skip copying irrelevant properties). More...
|
|
Standard_Real & | ChangeFrameRate () |
| Returns FPS (frames per seconds, elapsed time). More...
|
|
Standard_Real & | ChangeFrameRateCpu () |
| Returns CPU FPS (frames per seconds, CPU time). More...
|
|
Standard_Real & | ChangeImmediateFrameRate () |
| Returns FPS for immediate redraws. More...
|
|
Standard_Real & | ChangeImmediateFrameRateCpu () |
| Returns CPU FPS for immediate redraws. More...
|
|
OSD_Timer & | ChangeTimer (Graphic3d_FrameStatsTimer theTimer) |
| Return a timer object for time measurements. More...
|
|
Standard_Size & | ChangeCounterValue (Graphic3d_FrameStatsCounter theIndex) |
| Get counter value. More...
|
|
Standard_Size & | operator[] (Graphic3d_FrameStatsCounter theIndex) |
| Modify counter value. More...
|
|
Standard_Real & | ChangeTimerValue (Graphic3d_FrameStatsTimer theIndex) |
| Modify timer value. More...
|
|
Standard_Real & | operator[] (Graphic3d_FrameStatsTimer theIndex) |
| Modify timer value. More...
|
|
Standard_Real | FrameRate () const |
| Returns FPS (frames per seconds, elapsed time). This number indicates an actual frame rate averaged for several frames within UpdateInterval() duration, basing on a real elapsed time between updates. More...
|
|
Standard_Real | FrameRateCpu () const |
| Returns CPU FPS (frames per seconds, CPU time). This number indicates a PREDICTED frame rate, basing on CPU elapsed time between updates and NOT real elapsed time (which might include periods of CPU inactivity). Number is expected to be greater then actual frame rate returned by FrameRate(). Values significantly greater actual frame rate indicate that rendering is limited by GPU performance (CPU is stalled in-between), while values around actual frame rate indicate rendering being limited by CPU performance (GPU is stalled in-between). More...
|
|
Standard_Real | ImmediateFrameRate () const |
| Returns FPS for immediate redraws. More...
|
|
Standard_Real | ImmediateFrameRateCpu () const |
| Returns CPU FPS for immediate redraws. More...
|
|
Standard_Size | CounterValue (Graphic3d_FrameStatsCounter theIndex) const |
| Get counter value. More...
|
|
Standard_Size | operator[] (Graphic3d_FrameStatsCounter theIndex) const |
| Get counter value. More...
|
|
Standard_Real | TimerValue (Graphic3d_FrameStatsTimer theIndex) const |
| Get timer value. More...
|
|
Standard_Real | operator[] (Graphic3d_FrameStatsTimer theIndex) const |
| Get timer value. More...
|
|
| Graphic3d_FrameStatsData () |
| Empty constructor. More...
|
|
Graphic3d_FrameStatsData & | operator= (const Graphic3d_FrameStatsData &theOther) |
| Assignment operator. More...
|
|
void | Reset () |
| Reset data. More...
|
|
void | FillMax (const Graphic3d_FrameStatsData &theOther) |
| Fill with maximum values. More...
|
|