19 #ifndef vtkOpenGLRenderTimer_h
20 #define vtkOpenGLRenderTimer_h
22 #include "vtkRenderingOpenGL2Module.h"
25 VTK_ABI_NAMESPACE_BEGIN
36 static bool IsSupported();
72 float GetElapsedSeconds();
73 float GetElapsedMilliseconds();
74 vtkTypeUInt64 GetElapsedNanoseconds();
103 void ReusableStart();
105 float GetReusableElapsedSeconds();
112 vtkTypeUInt64 GetStartTime();
113 vtkTypeUInt64 GetStopTime();
120 void ReleaseGraphicsResources();
140 VTK_ABI_NAMESPACE_END
141 #endif // vtkOpenGLRenderTimer_h
Asynchronously measures GPU execution time for a single event.