[vtkusers] profiling vtk code

Goodwin Lawlor goodwin.lawlor at ucd.ie
Tue Apr 22 19:01:56 EDT 2008


Hi Steve,

You could try using vtkTimerLog in your software (VTK uses it internally 
to time the rendering process).

Timing unit tests is handy with a scripting language like Tcl or 
Python... if you build the wrappers.

hth

Goodwin

Steve Chall wrote:
> I have some software built around vtk that’s working very well, except 
> that a central method is running forever…literally 4-7 hours.  I’d like 
> to find out what’s eating up the time and I’m pretty sure it’s inside 
> vtk code.  Is there a version of the vtk libraries that have been 
> compiled so I can profile the code that’s been built with them?  I 
> really quail at the thought of rebuilding the vtk libraries with the –p 
> option on.  I’m using g++ on Ubuntu Linux.  Thanks all.
> 
>  
> 
> -Steve Chall
> 
>  Senior Research Software Developer
> 
>  Renaissance Computing Institute
> 
>  Phone: 919-515-0051
> 
>  Email: stevec at renci.org
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list