<div dir="ltr">Hi,<div>I am probably making a foolish error, but I can&#39;t see it at the moment. I have a simple filter that deals with an unusual pixel type that I&#39;m attempting to profile. The pixel type is a quaternion, the structure for which is defined in some c++ templates that are publicly available. The operations were taking longer than expected, hence the profiling. My problem is that the function names showing up as been called lots of times from my ThreadedGenerateData method are wrong - i.e. my command line handling is showing as being called thousands of times from inside my filter, which isn&#39;t happening. Previously this kind of issue has related to not building all the components with profiling enabled (-pg with gcc 4.7.0 under linux). However as far as I can tell I have all the points enabled (CMAKE_C_FLAGS, CMAKE_CXX_FLAGS, CMAKE_EXE_LINKER_FLAGS, CMAKE_MODULE_LINKER_FLAGS in ITK master branch and on my project), and verbose output confirms that compiling and linking both have the switch. I&#39;ve set my number of threads to 1. I&#39;m not using shared libraries (apart from maths and c libraries).</div>
<div><br></div><div>Is there anything obvious I&#39;m missing. Is there something likely to be available on a shared linux machine that I should use in preference?</div><div><br></div><div>Thanks</div></div>