improved the profiling support
some improvements
to be able to switch between deprecated usage of OpenCV C++ implementation and the new usage of the OpenCV Java API