Is it possible to have timer in Catalyst?

Hello,

I want to measure the time for each operation (in seconds) in my catalyst in situ script. I tried using the python timers but it complains that it does not recognize it.

vtkTimerLog can be used for that.

from paraview.vtk.vtkCommonSystem import vtkTimerLog
l = vtkTimerLog()
l.StartTimer()
...
l.StopTimer()
print ("%f in seconds" % l.GetElapsedTime())