Go to the documentation of this file.
35 #ifndef vtkExecutionTimer_h
36 #define vtkExecutionTimer_h
39 #include "vtkFiltersCoreModule.h"
73 vtkGetMacro(ElapsedCPUTime,
double);
82 vtkGetMacro(ElapsedWallClockTime,
double);
~vtkExecutionTimer() override
static vtkExecutionTimer * New()
Construct a new timer with no attached filter.
Superclass for all sources, filters, and sinks in VTK.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract base class for most VTK objects
void StartTimer()
Convenience functions – StartTimer clears out the elapsed times and records start times; StopTimer re...
static void EventRelay(vtkObject *caller, unsigned long eventId, void *clientData, void *callData)
This is the callback that VTK will invoke when it sees StartEvent and EndEvent.
a simple class to control print indentation
void SetFilter(vtkAlgorithm *filter)
Set/get the filter to be monitored.
virtual void TimerFinished()
This is where you can do anything you want with the progress event.
supports function callbacks
double ElapsedWallClockTime
double WallClockStartTime
vtkCallbackCommand * Callback