|
| Graphic3d_FrameStats () |
| Default constructor. More...
|
|
virtual | ~Graphic3d_FrameStats () |
| Destructor. More...
|
|
Standard_Real | UpdateInterval () const |
| Returns interval in seconds for updating meters across several frames; 1 second by default. More...
|
|
void | SetUpdateInterval (Standard_Real theInterval) |
| Sets interval in seconds for updating values. More...
|
|
Standard_Boolean | IsLongLineFormat () const |
| Prefer longer lines over more greater of lines. More...
|
|
void | SetLongLineFormat (Standard_Boolean theValue) |
| Set if format should prefer longer lines over greater number of lines. More...
|
|
virtual void | FrameStart (const Handle< Graphic3d_CView > &theView, bool theIsImmediateOnly) |
| Frame redraw started. More...
|
|
virtual void | FrameEnd (const Handle< Graphic3d_CView > &theView, bool theIsImmediateOnly) |
| Frame redraw finished. More...
|
|
virtual TCollection_AsciiString | FormatStats (Graphic3d_RenderingParams::PerfCounters theFlags) const |
| Returns formatted string. More...
|
|
virtual void | FormatStats (TColStd_IndexedDataMapOfStringString &theDict, Graphic3d_RenderingParams::PerfCounters theFlags) const |
| Fill in the dictionary with formatted statistic info. More...
|
|
Standard_Real | FrameDuration () const |
| Returns duration of the last frame in seconds. 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_Size | CounterValue (Graphic3d_FrameStatsCounter theCounter) const |
| Returns value of specified counter, cached between stats updates. Should NOT be called between ::FrameStart() and ::FrameEnd() calls. More...
|
|
Standard_Real | TimerValue (Graphic3d_FrameStatsTimer theTimer) const |
| Returns value of specified timer for modification, should be called between ::FrameStart() and ::FrameEnd() calls. Should NOT be called between ::FrameStart() and ::FrameEnd() calls. More...
|
|
Standard_Boolean | HasCulledLayers () const |
| Returns TRUE if some Layers have been culled. More...
|
|
Standard_Boolean | HasCulledStructs () const |
| Returns TRUE if some structures have been culled. More...
|
|
const Graphic3d_FrameStatsData & | LastDataFrame () const |
| Returns last data frame, cached between stats updates. Should NOT be called between ::FrameStart() and ::FrameEnd() calls. More...
|
|
Standard_Integer | LastDataFrameIndex () const |
| Returns last data frame index. More...
|
|
const NCollection_Array1< Graphic3d_FrameStatsData > & | DataFrames () const |
| Returns data frames. More...
|
|
NCollection_Array1< Graphic3d_FrameStatsData > & | ChangeDataFrames () |
| Returns data frames. More...
|
|
Standard_Size & | ChangeCounter (Graphic3d_FrameStatsCounter theCounter) |
| Returns value of specified counter for modification, should be called between ::FrameStart() and ::FrameEnd() calls. More...
|
|
Standard_Real & | ChangeTimer (Graphic3d_FrameStatsTimer theTimer) |
| Returns value of specified timer for modification, should be called between ::FrameStart() and ::FrameEnd() calls. More...
|
|
Graphic3d_FrameStatsDataTmp & | ActiveDataFrame () |
| Returns currently filling data frame for modification, should be called between ::FrameStart() and ::FrameEnd() calls. More...
|
|
Public Member Functions inherited from Standard_Transient |
| Standard_Transient () |
| Empty constructor. More...
|
|
| Standard_Transient (const Standard_Transient &) |
| Copy constructor – does nothing. More...
|
|
Standard_Transient & | operator= (const Standard_Transient &) |
| Assignment operator, needed to avoid copying reference counter. More...
|
|
virtual | ~Standard_Transient () |
| Destructor must be virtual. More...
|
|
virtual void | Delete () const |
| Memory deallocator for transient classes. More...
|
|
virtual const opencascade::handle< Standard_Type > & | DynamicType () const |
| Returns a type descriptor about this object. More...
|
|
Standard_Boolean | IsInstance (const opencascade::handle< Standard_Type > &theType) const |
| Returns a true value if this is an instance of Type. More...
|
|
Standard_Boolean | IsInstance (const Standard_CString theTypeName) const |
| Returns a true value if this is an instance of TypeName. More...
|
|
Standard_Boolean | IsKind (const opencascade::handle< Standard_Type > &theType) const |
| Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
|
|
Standard_Boolean | IsKind (const Standard_CString theTypeName) const |
| Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
|
|
Standard_Transient * | This () const |
| Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero. More...
|
|
Standard_Integer | GetRefCount () const |
| Get the reference counter of this object. More...
|
|
void | IncrementRefCounter () const |
| Increments the reference counter of this object. More...
|
|
Standard_Integer | DecrementRefCounter () const |
| Decrements the reference counter of this object; returns the decremented value. More...
|
|
Class storing the frame statistics.