31 #ifndef vtkOpenGLRenderTimer_h 32 #define vtkOpenGLRenderTimer_h 34 #include "vtkRenderingOpenGL2Module.h" 47 static bool IsSupported();
83 float GetElapsedSeconds();
84 float GetElapsedMilliseconds();
85 vtkTypeUInt64 GetElapsedNanoseconds();
114 void ReusableStart();
116 float GetReusableElapsedSeconds();
123 vtkTypeUInt64 GetStartTime();
124 vtkTypeUInt64 GetStopTime();
131 void ReleaseGraphicsResources();
151 #endif // vtkOpenGLRenderTimer_h
Asynchronously measures GPU execution time for a single event.