30#ifndef vtkOpenGLRenderTimer_h
31#define vtkOpenGLRenderTimer_h
33#include "vtkRenderingOpenGL2Module.h"
Asynchronously measures GPU execution time.
void Reset()
Clear out any previous results and prepare for a new query.
bool Stopped()
Returns true if the timer has been stopped.
bool Started()
Returns true if the timer has been started.
vtkTypeUInt64 GetElapsedNanoseconds()
void Start()
Mark the start of a timed event.
float GetElapsedMilliseconds()
void Stop()
Mark the end of a timed event.
float GetElapsedSeconds()
If Ready() returns true, get the elapsed time in the requested units.
bool Ready()
Returns true when the timing results are available.