35#ifndef vtkExecutionTimer_h
36#define vtkExecutionTimer_h
39#include "vtkFiltersCoreModule.h"
73 vtkGetMacro(ElapsedCPUTime,
double);
82 vtkGetMacro(ElapsedWallClockTime,
double);
100 double WallClockStartTime;
101 double WallClockEndTime;
103 double ElapsedCPUTime;
104 double ElapsedWallClockTime;
120 virtual
void TimerFinished();
127 static
void EventRelay(
vtkObject* caller,
unsigned long eventId,
void* clientData,
void* callData);
Superclass for all sources, filters, and sinks in VTK.
supports function callbacks
~vtkExecutionTimer() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkExecutionTimer * New()
Construct a new timer with no attached filter.
void SetFilter(vtkAlgorithm *filter)
Set/get the filter to be monitored.
a simple class to control print indentation
abstract base class for most VTK objects