ViSP build time analysis #1221
Replies: 4 comments 1 reply
-
Interesting. |
Beta Was this translation helpful? Give feedback.
-
I have added some quick notes about how to use the Clang Build Analyzer tool in this wiki page. |
Beta Was this translation helpful? Give feedback.
-
A way to speed up the build is to remove useless 3rd-party include dirs and libraries that are exported with ViSP modules
|
Beta Was this translation helpful? Give feedback.
-
More test results: ViSP v3.5.0
details==========================================================
General configuration information for ViSP 3.5.0
Version control: v3.5.0
Platform:
Timestamp: 2023-11-15T12:42:28Z
Host: Linux 5.4.0-166-generic x86_64
CMake: 3.16.3
CMake generator: Unix Makefiles
CMake build tool: /usr/bin/make
Configuration: Release
C/C++:
Built as dynamic libs?: yes
C++ Compiler: /usr/bin/clang++-12 (ver 12.0.0)
C++ flags (Release): -ftime-trace -Wall -Wextra -fopenmp=libomp -std=c++17 -fvisibility=hidden -mavx -fPIC -O3 -DNDEBUG
C++ flags (Debug): -ftime-trace -Wall -Wextra -fopenmp=libomp -std=c++17 -fvisibility=hidden -mavx -fPIC -g
C Compiler: /usr/bin/clang-12
C flags (Release): -ftime-trace -Wall -Wextra -fopenmp=libomp -std=c++17 -fvisibility=hidden -mavx -fPIC -O3 -DNDEBUG
C flags (Debug): -ftime-trace -Wall -Wextra -fopenmp=libomp -std=c++17 -fvisibility=hidden -mavx -fPIC -g
Linker flags (Release):
Linker flags (Debug):
ViSP modules:
To be built: core gui imgproc io java_bindings_generator klt me sensor ar blob robot visual_features vs vision detection mbt tt tt_mi java
Disabled: -
Disabled by dependency: -
Unavailable: -
Python (for build): /usr/bin/python
Java:
ant: /usr/bin/ant (ver 1.10.7)
JNI: /usr/lib/jvm/default-java/include /usr/lib/jvm/default-java/include/linux /usr/lib/jvm/default-java/include
Build options:
Build deprecated: yes
Build with moment combine: no
Mathematics:
Blas/Lapack: yes
\- Use MKL: yes
\- Use OpenBLAS: no
\- Use Atlas: no
\- Use Netlib: no
\- Use GSL: no
\- Use Lapack (built-in): no
Use Eigen3: yes (ver 3.3.7)
Use OpenCV: yes (ver 4.5.5)
Simulator:
Ogre simulator:
\- Use Ogre3D: no
\- Use OIS: no
Coin simulator:
\- Use Coin3D: no
\- Use SoWin: no
\- Use SoXt: no
\- Use SoQt: no
\- Use Qt5: no
\- Use Qt4: no
\- Use Qt3: no
Media I/O:
Use JPEG: yes (ver 80)
Use PNG: yes (ver 1.6.37)
\- Use ZLIB: yes (ver 1.2.11)
Use OpenCV: yes (ver 4.5.5)
Use stb_image (built-in): no
Real robots:
Use Afma4: no
Use Afma6: no
Use Franka: no
Use Viper650: no
Use Viper850: no
Use Kinova Jaco: no
Use aria (Pioneer): no
Use PTU46: no
Use Biclops PTU: no
Use Flir PTU SDK: no
Use Parrot ARSDK: no
\-Use ffmpeg: no
Use Virtuose: no
Use qbdevice (built-in): yes (ver 2.6.0)
Use takktile2 (built-in): yes (ver 1.0.0)
GUI:
Use X11: yes
Use GTK: no
Use OpenCV: yes (ver 4.5.5)
Use GDI: no
Use Direct3D: no
Cameras:
Use DC1394-2.x: yes (ver 2.2.5)
Use CMU 1394: no
Use V4L2: yes (ver 1.18.0)
Use directshow: no
Use OpenCV: yes (ver 4.5.5)
Use FLIR Flycapture: no
Use Basler Pylon: no
Use IDS uEye: no
RGB-D sensors:
Use Realsense: no
Use Realsense2: no
Use Occipital Structure: no
Use Kinect: no
\- Use libfreenect: no
\- Use libusb-1: yes (ver 1.0.23)
\- Use pthread: yes
Use PCL: no
\- Use VTK: no
F/T sensors:
Use atidaq (built-in): no
Use comedi: no
Use IIT SDK: no
Detection:
Use zbar: no
Use dmtx: no
Use AprilTag (built-in): yes (ver 3.1.1)
\- Use AprilTag big family: no
Misc:
Use Clipper (built-in): yes (ver 6.4.2)
Use pugixml (built-in): yes (ver 1.9.0)
Use libxml2: yes (ver 2.9.10)
Optimization:
Use OpenMP: yes
Use pthread: yes
Use pthread (built-in): no
Use cxx standard: 17
DNN:
Use CUDA Toolkit: no
Use TensorRT: no
Documentation:
Use doxygen: yes
Tests and samples:
Use catch2 (built-in): yes (ver 2.13.7)
Tests: no
Demos: no
Examples: no
Tutorials: no
Install path: /usr/local
==========================================================
detailsAnalyzing build trace from 'visp-build_session_analyse.bin'...
**** Time summary:
Compilation (858 times):
Parsing (frontend): 2509.2 s
Codegen & opts (backend): 542.4 s
**** Files that took longest to parse (compiler frontend):
17893 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/math/matrix/vpMatrix_svd.cpp.o
16736 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/math/matrix/vpMatrix_lu.cpp.o
15817 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/math/matrix/vpEigenConversion.cpp.o
14834 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/math/matrix/vpMatrix_cholesky.cpp.o
14096 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/tools/geometry/vpPolygon.cpp.o
13931 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/tools/geometry/vpPolygon3D.cpp.o
13839 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/tools/convert/vpConvert.cpp.o
13766 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/tools/histogram/vpHistogram.cpp.o
13112 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/math/matrix/vpMatrix.cpp.o
13039 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/display/vpFeatureDisplay.cpp.o
**** Files that took longest to codegen (compiler backend):
11743 ms: visp-build/modules/io/CMakeFiles/visp_io.dir/src/image/private/vpImageIoStb.cpp.o
10149 ms: visp-build/3rdparty/apriltag/CMakeFiles/visp_apriltag.dir/common/matd.cpp.o
8080 ms: visp-build/3rdparty/simdlib/CMakeFiles/visp_simdlib.dir/Simd/SimdBaseGaussianBlur.cpp.o
7778 ms: visp-build/3rdparty/pugixml-1.9/CMakeFiles/visp_pugixml.dir/pugixml.cpp.o
7072 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/image/vpFont.cpp.o
7049 ms: visp-build/3rdparty/simdlib/CMakeFiles/visp_simdlib.dir/Simd/SimdSse41GaussianBlur.cpp.o
6704 ms: visp-build/3rdparty/apriltag/CMakeFiles/visp_apriltag.dir/apriltag_quad_thresh.cpp.o
6485 ms: visp-build/3rdparty/clipper/CMakeFiles/visp_clipper.dir/clipper.cpp.o
5824 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/math/matrix/vpRowVector.cpp.o
5724 ms: visp-build/3rdparty/apriltag/CMakeFiles/visp_apriltag.dir/apriltag.cpp.o
**** Templates that took longest to instantiate:
10559 ms: std::basic_string<char32_t>::_M_construct<const char32_t *> (764 times, avg 13 ms)
9845 ms: std::unordered_map<int, int> (279 times, avg 35 ms)
8871 ms: __gnu_cxx::__to_xstring<std::basic_string<char>, char> (382 times, avg 23 ms)
8518 ms: std::basic_string<char16_t>::_M_construct<const char16_t *> (764 times, avg 11 ms)
7945 ms: std::_Hashtable<int, std::pair<const int, int>, std::allocator<std::... (279 times, avg 28 ms)
7626 ms: __gnu_cxx::__to_xstring<std::basic_string<wchar_t>, wchar_t> (382 times, avg 19 ms)
6901 ms: std::basic_string<wchar_t>::_M_construct<wchar_t *> (764 times, avg 9 ms)
6642 ms: std::basic_string<char>::_M_construct<char *> (764 times, avg 8 ms)
6438 ms: std::basic_string<char32_t>::basic_string (382 times, avg 16 ms)
5717 ms: std::__detail::__cyl_bessel_j<long double> (387 times, avg 14 ms)
5583 ms: std::basic_string<char16_t>::basic_string (382 times, avg 14 ms)
5336 ms: std::basic_string<char32_t>::_M_construct_aux<const char32_t *> (382 times, avg 13 ms)
5100 ms: std::basic_string<char16_t> (382 times, avg 13 ms)
5089 ms: std::basic_string<char32_t> (382 times, avg 13 ms)
5071 ms: std::__detail::__cyl_bessel_i<long double> (387 times, avg 13 ms)
5001 ms: std::__detail::__cyl_bessel_j<float> (387 times, avg 12 ms)
4878 ms: std::make_pair<bool, int> (279 times, avg 17 ms)
4814 ms: std::basic_string<char>::basic_string<char *, void> (382 times, avg 12 ms)
4766 ms: std::basic_string<wchar_t>::basic_string<wchar_t *, void> (382 times, avg 12 ms)
4562 ms: std::operator+<char, std::char_traits<char>, std::allocator<char>> (765 times, avg 5 ms)
4324 ms: vpArray2D<double>::load (256 times, avg 16 ms)
4306 ms: std::basic_string<char16_t>::_M_construct_aux<const char16_t *> (382 times, avg 11 ms)
4302 ms: std::__detail::__bessel_jn<long double> (387 times, avg 11 ms)
4110 ms: std::__detail::__cyl_bessel_i<float> (387 times, avg 10 ms)
4016 ms: std::__detail::__comp_ellint_3<float> (387 times, avg 10 ms)
3905 ms: std::__detail::__riemann_zeta<float> (387 times, avg 10 ms)
3860 ms: std::__detail::__bessel_ik<long double> (387 times, avg 9 ms)
3755 ms: std::__detail::__bessel_jn<float> (387 times, avg 9 ms)
3537 ms: std::unordered_multimap<int, int> (279 times, avg 12 ms)
3521 ms: std::basic_string<char>::_M_construct_aux<char *> (382 times, avg 9 ms)
**** Template sets that took longest to instantiate:
38517 ms: std::__and_<$> (5617 times, avg 6 ms)
22106 ms: std::is_convertible<$> (1199 times, avg 18 ms)
20415 ms: std::basic_string<$>::_M_construct<$> (1771 times, avg 11 ms)
18903 ms: std::basic_string<$>::_M_construct_aux<$> (1648 times, avg 11 ms)
18239 ms: std::__or_<$> (1122 times, avg 16 ms)
17488 ms: std::__not_<$> (1269 times, avg 13 ms)
16911 ms: std::basic_string<$>::basic_string (1590 times, avg 10 ms)
16571 ms: std::vector<$> (2949 times, avg 5 ms)
16497 ms: __gnu_cxx::__to_xstring<$> (764 times, avg 21 ms)
16365 ms: std::basic_string<$> (1532 times, avg 10 ms)
13085 ms: std::vector<$>::push_back (815 times, avg 16 ms)
12994 ms: __gnu_cxx::__stoa<$> (530 times, avg 24 ms)
10719 ms: std::__detail::__cyl_bessel_j<$> (774 times, avg 13 ms)
10678 ms: std::_Hashtable<$> (558 times, avg 19 ms)
9881 ms: std::vector<$>::_M_realloc_insert<$> (797 times, avg 12 ms)
9845 ms: std::unordered_map<$> (279 times, avg 35 ms)
9788 ms: std::basic_string<$>::basic_string<$> (773 times, avg 12 ms)
9628 ms: std::__is_convertible_helper<$> (463 times, avg 20 ms)
9181 ms: std::__detail::__cyl_bessel_i<$> (774 times, avg 11 ms)
9128 ms: cv::Ptr<$> (1078 times, avg 8 ms)
9032 ms: std::shared_ptr<$> (1237 times, avg 7 ms)
8058 ms: std::__detail::__bessel_jn<$> (774 times, avg 10 ms)
7743 ms: std::make_pair<$> (571 times, avg 13 ms)
7481 ms: std::_Vector_base<$> (2774 times, avg 2 ms)
7181 ms: std::__detail::__comp_ellint_3<$> (774 times, avg 9 ms)
7095 ms: std::__detail::__bessel_ik<$> (774 times, avg 9 ms)
6975 ms: std::__detail::__assoc_laguerre<$> (774 times, avg 9 ms)
6902 ms: std::__detail::__riemann_zeta<$> (774 times, avg 8 ms)
6710 ms: std::__is_referenceable<$> (469 times, avg 14 ms)
6705 ms: std::pair<$> (1086 times, avg 6 ms)
**** Functions that took longest to compile:
2676 ms: matd_svd_tall(matd_t*, int) (visp/3rdparty/apriltag/common/matd.cpp)
2032 ms: stbi__load_main(stbi__context*, int*, int*, int*, int, stbi__result_... (visp/modules/io/src/image/private/vpImageIoStb.cpp)
1838 ms: Simd::Base::ZlibCompress(unsigned char*, int, int, Simd::OutputMemor... (visp/3rdparty/simdlib/Simd/SimdBaseImageSavePng.cpp)
1786 ms: quad_decode_task(void*) (visp/3rdparty/apriltag/apriltag.cpp)
1640 ms: Simd::Base::OperationBinary8u(unsigned char const*, unsigned long, u... (visp/3rdparty/simdlib/Simd/SimdBaseOperation.cpp)
1594 ms: Simd::Sse41::ZlibCompress(unsigned char*, int, int, Simd::OutputMemo... (visp/3rdparty/simdlib/Simd/SimdSse41ImageSavePng.cpp)
1540 ms: vpHomography::computeDisplacement(unsigned int, vpPoint*, vpPoint*, ... (visp/modules/vision/src/homography-estimation/vpHomographyVVS.cpp)
1496 ms: vpQuadProg::solveQPi(vpMatrix const&, vpColVector const&, vpMatrix c... (visp/modules/core/src/tools/optimization/vpQuadProg.cpp)
1435 ms: vpHomography::computeDisplacement(vpHomography const&, double, doubl... (visp/modules/vision/src/homography-estimation/vpHomographyExtract.cpp)
1416 ms: vpHomography::computeDisplacement(unsigned int, vpPoint*, vpPoint*, ... (visp/modules/vision/src/homography-estimation/vpHomographyVVS.cpp)
1368 ms: void Simd::Sse2::OperationBinary8u<true>(unsigned char const*, unsig... (visp/3rdparty/simdlib/Simd/SimdSse2Operation.cpp)
1322 ms: apriltag_detector_detect(apriltag_detector*, image_u8*) (visp/3rdparty/apriltag/apriltag.cpp)
1314 ms: void Simd::Sse2::OperationBinary8u<false>(unsigned char const*, unsi... (visp/3rdparty/simdlib/Simd/SimdSse2Operation.cpp)
1279 ms: Simd::Sse41::ImagePngLoader::FromStream() (visp/3rdparty/simdlib/Simd/SimdSse41ImageLoadPng.cpp)
1203 ms: Simd::Base::png__create_png_image_raw(Simd::Base::png__png*, unsigne... (visp/3rdparty/simdlib/Simd/SimdBaseImageLoadPng.cpp)
1187 ms: Simd::Sse41::JpegWriteBlockSubs(Simd::OutputMemoryStream&, int, int,... (visp/3rdparty/simdlib/Simd/SimdSse41ImageSaveJpeg.cpp)
1178 ms: vpFeatureMomentCInvariant::compute_interaction() (visp/modules/visual_features/src/visual-feature/vpFeatureMomentCInvariant.cpp)
1134 ms: threshold(apriltag_detector*, image_u8*) (visp/3rdparty/apriltag/apriltag_quad_thresh.cpp)
1132 ms: vpCalibration::calibVVSWithDistortionMulti(std::vector<vpCalibration... (visp/modules/vision/src/calibration/vpCalibrationTools.cpp)
1082 ms: Simd::Sse41::JpegWriteBlockFull(Simd::OutputMemoryStream&, int, int,... (visp/3rdparty/simdlib/Simd/SimdSse41ImageSaveJpeg.cpp)
979 ms: Simd::Base::JpegWriteBlockSubs(Simd::OutputMemoryStream&, int, int, ... (visp/3rdparty/simdlib/Simd/SimdBaseImageSaveJpeg.cpp)
976 ms: image_u8_convolve_2D(image_u8*, unsigned char const*, int) (visp/3rdparty/apriltag/common/image_u8.cpp)
949 ms: stbi__bmp_parse_header(stbi__context*, stbi__bmp_data*) (visp/modules/io/src/image/private/vpImageIoStb.cpp)
939 ms: vpMatrix::computeCovarianceMatrixVVS(vpHomogeneousMatrix const&, vpC... (visp/modules/core/src/math/matrix/vpMatrix_covariance.cpp)
922 ms: Simd::Base::JpegWriteBlockFull(Simd::OutputMemoryStream&, int, int, ... (visp/3rdparty/simdlib/Simd/SimdBaseImageSaveJpeg.cpp)
912 ms: matd_plu_solve(matd_plu_t const*, matd_t const*) (visp/3rdparty/apriltag/common/matd.cpp)
905 ms: vpHomography::computeRotation(unsigned int, vpPoint*, vpPoint*, vpHo... (visp/modules/vision/src/homography-estimation/vpHomographyVVS.cpp)
865 ms: vpHomography::ransac(std::vector<double, std::allocator<double> > co... (visp/modules/vision/src/homography-estimation/vpHomographyRansac.cpp)
863 ms: do_gradient_clusters(image_u8*, int, int, int, int, int, unionfind*,... (visp/3rdparty/apriltag/apriltag_quad_thresh.cpp)
857 ms: Simd::Base::ImageJpegLoader::FromStream() (visp/3rdparty/simdlib/Simd/SimdBaseImageLoadJpeg.cpp)
**** Function sets that took longest to compile / optimize:
18505 ms: vpArray2D<$>::resize(unsigned int, unsigned int, bool, bool) (178 times, avg 103 ms)
5514 ms: void Simd::Base::BlurImage<$>(Simd::BlurParam const&, Simd::Base::Al... (18 times, avg 306 ms)
4997 ms: void Simd::Sse41::BlurImage<$>(Simd::BlurParam const&, Simd::Base::A... (18 times, avg 277 ms)
2834 ms: void Simd::Avx2::BlurImage<$>(Simd::BlurParam const&, Simd::Base::Al... (20 times, avg 141 ms)
2682 ms: void Simd::Sse2::OperationBinary8u<$>(unsigned char const*, unsigned... (2 times, avg 1341 ms)
2063 ms: vpArray2D<$>::~vpArray2D() (164 times, avg 12 ms)
1870 ms: void Simd::Sse2::GaussianBlur3x3<$>(unsigned char const*, unsigned l... (9 times, avg 207 ms)
1854 ms: void Simd::Base::ResizerByteArea::Run<$>(unsigned char const*, unsig... (4 times, avg 463 ms)
1849 ms: std::vector<$>::_M_default_append(unsigned long) (83 times, avg 22 ms)
1567 ms: vpImage<$>::init(unsigned int, unsigned int) (60 times, avg 26 ms)
1454 ms: vpHomography::computeDisplacement(vpHomography const&, double, doubl... (2 times, avg 727 ms)
1170 ms: vpCalibration::calibVVSWithDistortionMulti(std::vector<$>&, vpCamera... (2 times, avg 585 ms)
1148 ms: void Simd::Base::BlurImageAny<$>(Simd::BlurParam const&, Simd::Base:... (4 times, avg 287 ms)
1142 ms: void Simd::Sse41::GaussianBlur3x3<$>(unsigned char const*, unsigned ... (10 times, avg 114 ms)
1130 ms: void Simd::Sse41::BlurImageAny<$>(Simd::BlurParam const&, Simd::Base... (4 times, avg 282 ms)
1050 ms: vp::clahe(vpImage<$> const&, vpImage<$>&, int, int, float, bool) (3 times, avg 350 ms)
1013 ms: void Simd::Avx2::OperationBinary8u<$>(unsigned char const*, unsigned... (2 times, avg 506 ms)
882 ms: vpHomography::ransac(std::vector<$> const&, std::vector<$> const&, s... (2 times, avg 441 ms)
868 ms: void Simd::Sse2::ReduceGray3x3<$>(unsigned char const*, unsigned lon... (5 times, avg 173 ms)
830 ms: void Simd::Sse41::ResizeBilinear<$>(unsigned char const*, unsigned l... (4 times, avg 207 ms)
822 ms: vpCalibration::calibVVSMulti(std::vector<$>&, vpCameraParameters&, d... (2 times, avg 411 ms)
817 ms: vpPose::computePlanarObjectPoseFromRGBD(vpImage<$> const&, std::vect... (2 times, avg 408 ms)
775 ms: vpHandEyeCalibration::calibrationVVS(std::vector<$> const&, std::vec... (2 times, avg 387 ms)
772 ms: void Simd::Base::ReduceGray5x5<$>(unsigned char const*, unsigned lon... (4 times, avg 193 ms)
767 ms: std::__cxx11::basic_string<$>::basic_string<$>(char const*, std::all... (120 times, avg 6 ms)
767 ms: void Simd::Avx2::BlurImageAny<$>(Simd::BlurParam const&, Simd::Base:... (6 times, avg 127 ms)
762 ms: void Simd::Sse41::ResizerByteArea::Run<$>(unsigned char const*, unsi... (4 times, avg 190 ms)
759 ms: vpMbTracker::loadCAOModel(std::__cxx11::basic_string<$> const&, std:... (2 times, avg 379 ms)
748 ms: void Simd::Sse2::ResizerByteArea::Run<$>(unsigned char const*, unsig... (4 times, avg 187 ms)
745 ms: void std::vector<$>::_M_range_insert<$>(__gnu_cxx::__normal_iterator... (13 times, avg 57 ms)
**** Expensive headers:
537734 ms: visp/modules/core/include/visp3/core/vpArray2D.h (included 256 times, avg 2100 ms), included via:
16x: vpColVector.h
13x: vpDisplay.h vpCameraParameters.h vpColVector.h
10x: vpImageConvert.h vpImage.h vpRGBa.h vpColVector.h
9x: vpBasicFeature.h vpColVector.h
9x: vpCameraParameters.h vpColVector.h
9x: vpMomentGravityCenter.h vpMomentDatabase.h vpImage.h vpRGBa.h vpColVector.h
...
492654 ms: visp/modules/core/include/visp3/core/vpColVector.h (included 269 times, avg 1831 ms), included via:
16x: <direct include>
13x: vpDisplay.h vpCameraParameters.h
10x: vpImageConvert.h vpImage.h vpRGBa.h
9x: vpBasicFeature.h
9x: vpCameraParameters.h
9x: vpMomentGravityCenter.h vpMomentDatabase.h vpImage.h vpRGBa.h
...
458783 ms: /usr/include/c++/9/iostream (included 236 times, avg 1943 ms), included via:
61x: SimdMemory.h
28x: vpDebug.h
19x: vpException.h
19x: <direct include>
13x: SimdStore.h SimdLog.h SimdArray.h SimdMemory.h
8x: vpImageConvert.h vpDebug.h
...
397628 ms: visp/3rdparty/simdlib/Simd/SimdMemory.h (included 79 times, avg 5033 ms), included via:
61x: <direct include>
13x: SimdStore.h SimdLog.h SimdArray.h
4x: SimdImageLoad.h SimdMemoryStream.h
1x: SimdGaussianBlur.h SimdArray.h
305818 ms: /usr/include/c++/9/string (included 382 times, avg 800 ms), included via:
61x: SimdMemory.h iostream ostream ios ios_base.h locale_classes.h
28x: vpDebug.h iostream ostream ios ios_base.h locale_classes.h
21x: algorithm glue_algorithm_defs.h functional tuple array stdexcept
17x: vpException.h iostream ostream ios ios_base.h locale_classes.h
14x: iostream ostream ios ios_base.h locale_classes.h
13x: SimdStore.h SimdLog.h SimdArray.h SimdMemory.h iostream ostream ios ios_base.h locale_classes.h
...
268810 ms: visp/modules/core/include/visp3/core/vpMath.h (included 260 times, avg 1033 ms), included via:
25x: <direct include>
16x: vpColVector.h vpArray2D.h
13x: vpDisplay.h vpCameraParameters.h vpColVector.h vpArray2D.h
10x: vpImageConvert.h vpImage.h vpRGBa.h vpColVector.h vpArray2D.h
9x: vpMomentGravityCenter.h vpMomentDatabase.h vpImage.h vpRGBa.h vpColVector.h vpArray2D.h
9x: vpCameraParameters.h vpColVector.h vpArray2D.h
...
263469 ms: visp/3rdparty/simdlib/Simd/SimdDefs.h (included 98 times, avg 2688 ms), included via:
61x: SimdMemory.h
13x: SimdStore.h
11x: <direct include>
4x: SimdEnable.h
4x: SimdImageLoad.h SimdMemoryStream.h SimdMemory.h
2x: SimdMath.h
...
257961 ms: visp/modules/core/include/visp3/core/vpImage.h (included 196 times, avg 1316 ms), included via:
16x: vpDisplay.h
10x: vpImageConvert.h
9x: vpMomentGravityCenter.h vpMomentDatabase.h
9x: vpBasicFeature.h
7x: vpMomentDatabase.h
7x: vpMeterPixelConversion.h vpCircle.h vpForwardProjection.h vpTracker.h
...
240806 ms: /usr/include/c++/9/functional (included 279 times, avg 863 ms), included via:
22x: algorithm glue_algorithm_defs.h
19x: vpMath.h algorithm glue_algorithm_defs.h
13x: vpDisplay.h vpCameraParameters.h vpColVector.h vpArray2D.h vpMath.h glue_algorithm_defs.h
10x: vpColVector.h vpArray2D.h vpMath.h glue_algorithm_defs.h
9x: vpMomentGravityCenter.h vpMomentDatabase.h vpImage.h vpRGBa.h vpColVector.h vpArray2D.h vpMath.h glue_algorithm_defs.h
9x: vpCameraParameters.h vpColVector.h vpArray2D.h vpMath.h glue_algorithm_defs.h
...
232224 ms: /usr/include/c++/9/cmath (included 411 times, avg 565 ms), included via:
61x: SimdMemory.h SimdDefs.h math.h
34x: <direct include>
27x: math.h
18x: vpMath.h math.h
13x: SimdStore.h SimdDefs.h math.h
11x: SimdDefs.h math.h
...
done in 0.1s.
ViSP v3.6.0
details==========================================================
General configuration information for ViSP 3.6.0
Version control: v3.6.0
Platform:
Timestamp: 2023-11-15T12:55:15Z
Host: Linux 5.4.0-166-generic x86_64
CMake: 3.16.3
CMake generator: Unix Makefiles
CMake build tool: /usr/bin/make
Configuration: Release
System information:
Number of CPU logical cores: 6
Number of CPU physical cores: 6
Total physical memory (in MiB): 15825
OS name: Linux
OS release: 5.4.0-166-generic
OS version: #183-Ubuntu SMP Mon Oct 2 11:28:33 UTC 2023
OS platform: x86_64
CPU name: Unknown P6 family
Is the CPU 64-bit? yes
Does the CPU have FPU? yes
CPU optimization: SSE2 SSE3 SSSE3
C/C++:
Built as dynamic libs?: yes
C++ Compiler: /usr/bin/clang++-12 (ver 12.0.0)
C++ flags (Release): -ftime-trace -Wall -Wextra -fopenmp=libomp -pthread -std=c++17 -fvisibility=hidden -mavx -fPIC -O3 -DNDEBUG
C++ flags (Debug): -ftime-trace -Wall -Wextra -fopenmp=libomp -pthread -std=c++17 -fvisibility=hidden -mavx -fPIC -g
C Compiler: /usr/bin/clang-12
C flags (Release): -ftime-trace -Wall -Wextra -fopenmp=libomp -pthread -std=c++17 -fvisibility=hidden -mavx -fPIC -O3 -DNDEBUG
C flags (Debug): -ftime-trace -Wall -Wextra -fopenmp=libomp -pthread -std=c++17 -fvisibility=hidden -mavx -fPIC -g
Linker flags (Release):
Linker flags (Debug):
Use cxx standard: 17
ViSP modules:
To be built: core gui imgproc io java_bindings_generator klt me sensor ar blob robot visual_features vs vision detection mbt tt tt_mi java
Disabled: -
Disabled by dependency: -
Unavailable: -
Python (for build): /usr/bin/python
Java:
ant: /usr/bin/ant (ver 1.10.7)
JNI: /usr/lib/jvm/default-java/include /usr/lib/jvm/default-java/include/linux /usr/lib/jvm/default-java/include
Build options:
Build deprecated: yes
Build with moment combine: no
OpenCV:
Version: 4.5.5
Modules: calib3d core dnn features2d flann gapi highgui imgcodecs imgproc ml objdetect photo stitching video videoio aruco barcode videostab xfeatures2d ximgproc xobjdetect xphoto
OpenCV dir: src/opencv-build
Mathematics:
Blas/Lapack: yes
\- Use MKL: yes
\- Use OpenBLAS: no
\- Use Atlas: no
\- Use Netlib: no
\- Use GSL: no
\- Use Lapack (built-in): no
Use Eigen3: yes (ver 3.3.7)
Use OpenCV: yes (ver 4.5.5)
Simulator:
Ogre simulator:
\- Use Ogre3D: no
\- Use OIS: no
Coin simulator:
\- Use Coin3D: no
\- Use SoWin: no
\- Use SoXt: no
\- Use SoQt: no
\- Use Qt5: no
\- Use Qt4: no
\- Use Qt3: no
Media I/O:
Use JPEG: yes (ver 80)
Use PNG: yes (ver 1.6.37)
\- Use ZLIB: yes (ver 1.2.11)
Use OpenCV: yes (ver 4.5.5)
Use stb_image (built-in): yes (ver 2.27.0)
Use TinyEXR (built-in): yes (ver 1.0.2)
Real robots:
Use Afma4: no
Use Afma6: no
Use Franka: no
Use Viper650: no
Use Viper850: no
Use ur_rtde: no
Use Kinova Jaco: no
Use aria (Pioneer): no
Use PTU46: no
Use Biclops PTU: no
Use Flir PTU SDK: no
Use MAVSDK: no
Use Parrot ARSDK: no
\-Use ffmpeg: no
Use Virtuose: no
Use qbdevice (built-in): yes (ver 2.6.0)
Use takktile2 (built-in): yes (ver 1.0.0)
GUI:
Use X11: yes
Use GTK: no
Use OpenCV: yes (ver 4.5.5)
Use GDI: no
Use Direct3D: no
Cameras:
Use DC1394-2.x: yes (ver 2.2.5)
Use CMU 1394: no
Use V4L2: yes (ver 1.18.0)
Use directshow: no
Use OpenCV: yes (ver 4.5.5)
Use FLIR Flycapture: no
Use Basler Pylon: no
Use IDS uEye: no
RGB-D sensors:
Use Realsense: no
Use Realsense2: no
Use Occipital Structure: no
Use Kinect: no
\- Use libfreenect: no
\- Use libusb-1: yes (ver 1.0.23)
\- Use pthread: yes
Use PCL: no
\- Use VTK: no
F/T sensors:
Use atidaq (built-in): no
Use comedi: no
Use IIT SDK: no
Mocap:
Use Qualisys: no
Use Vicon: no
Detection:
Use zbar: no
Use dmtx: no
Use AprilTag (built-in): yes (ver 3.1.1)
\- Use AprilTag big family: no
Misc:
Use Clipper (built-in): yes (ver 6.4.2)
Use pugixml (built-in): yes (ver 1.9.0)
Use libxml2: yes (ver 2.9.10)
Use json (nlohmann): no
Optimization:
Use OpenMP: yes
Use pthread: yes
Use pthread (built-in): no
Use Simd (built-in): yes (ver 4.9.109)
DNN:
Use CUDA Toolkit: no
Use TensorRT: no
Documentation:
Use doxygen: yes
\- Use mathjax: no
Tests and samples:
Use catch2 (built-in): yes (ver 2.13.7)
Tests: no
Demos: no
Examples: no
Tutorials: no
Dataset found: yes (ver 3.5.0 in src/visp-images-master)
Library dirs:
Eigen3 include dir: /usr/lib/cmake/eigen3
MKL include dir: /opt/intel/compilers_and_libraries_2020.3.279/linux/mkl/include
OpenCV dir: src/opencv-build
Install path: /usr/local
==========================================================
detailsAnalyzing build trace from 'visp-build_session_analyse.bin'...
**** Time summary:
Compilation (884 times):
Parsing (frontend): 7065.3 s
Codegen & opts (backend): 750.1 s
**** Files that took longest to parse (compiler frontend):
36184 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/math/matrix/vpMatrix_svd.cpp.o
34821 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/math/matrix/vpMatrix_lu.cpp.o
33917 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/math/matrix/vpEigenConversion.cpp.o
32280 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/math/matrix/vpMatrix.cpp.o
31948 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/tools/geometry/vpPolygon.cpp.o
31475 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/math/matrix/vpMatrix_cholesky.cpp.o
31458 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/math/matrix/vpMatrix_mul.cpp.o
31396 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/tracking/moments/vpMoment.cpp.o
31395 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/math/matrix/vpMatrix_qr.cpp.o
31121 ms: visp-build/modules/core/CMakeFiles/visp_core.dir/src/tracking/forward-projection/vpPoint.cpp.o
**** Files that took longest to codegen (compiler backend):
17736 ms: visp-build/modules/io/CMakeFiles/visp_io.dir/src/image/private/vpImageIoStb.cpp.o
13255 ms: visp-build/modules/io/CMakeFiles/visp_io.dir/src/image/private/vpImageIoTinyEXR.cpp.o
11473 ms: visp-build/modules/vision/CMakeFiles/visp_vision.dir/src/key-point/vpKeyPoint.cpp.o
11407 ms: visp-build/3rdparty/apriltag/CMakeFiles/visp_apriltag.dir/common/matd.cpp.o
9963 ms: visp-build/3rdparty/pugixml-1.9/CMakeFiles/visp_pugixml.dir/pugixml.cpp.o
9719 ms: visp-build/modules/vision/CMakeFiles/visp_vision.dir/src/calibration/vpCalibrationTools.cpp.o
8854 ms: visp-build/modules/imgproc/CMakeFiles/visp_imgproc.dir/src/vpCircleHoughTransform.cpp.o
8168 ms: visp-build/3rdparty/apriltag/CMakeFiles/visp_apriltag.dir/apriltag_quad_thresh.cpp.o
7859 ms: visp-build/modules/vision/CMakeFiles/visp_vision.dir/src/pose-estimation/vpPoseFeatures.cpp.o
7518 ms: visp-build/modules/vision/CMakeFiles/visp_vision.dir/src/pose-estimation/vpPoseRansac.cpp.o
**** Templates that took longest to instantiate:
55327 ms: std::map<std::basic_string<char>, cvflann::any>::operator[] (355 times, avg 155 ms)
37981 ms: std::_Rb_tree<std::basic_string<char>, std::pair<const std::basic_st... (355 times, avg 106 ms)
28060 ms: std::vector<std::list<cv::detail::GraphEdge>>::assign (355 times, avg 79 ms)
27979 ms: std::vector<std::list<cv::detail::GraphEdge>>::_M_fill_assign (355 times, avg 78 ms)
25006 ms: std::vector<cv::KeyPoint>::operator= (355 times, avg 70 ms)
24626 ms: std::vector<cv::DMatch>::operator= (355 times, avg 69 ms)
22089 ms: std::map<std::basic_string<char>, cv::dnn::dnn4_v20211220::DictValue... (355 times, avg 62 ms)
21783 ms: std::_Rb_tree<std::basic_string<char>, std::pair<const std::basic_st... (355 times, avg 61 ms)
21568 ms: cv::makePtr<cv::detail::PlaneWarper, float> (355 times, avg 60 ms)
21443 ms: cv::makePtr<cv::detail::SphericalWarper, float> (355 times, avg 60 ms)
20870 ms: std::_Rb_tree<std::basic_string<char>, std::pair<const std::basic_st... (355 times, avg 58 ms)
20787 ms: std::unordered_map<unsigned int, std::vector<unsigned int>> (355 times, avg 58 ms)
20629 ms: cv::makePtr<cv::detail::CylindricalWarper, float> (355 times, avg 58 ms)
20508 ms: std::fill<__gnu_cxx::__normal_iterator<std::list<cv::detail::GraphEd... (355 times, avg 57 ms)
20480 ms: std::sort<__gnu_cxx::__normal_iterator<unsigned int *, std::vector<u... (355 times, avg 57 ms)
20366 ms: cv::makePtr<cv::detail::FisheyeWarper, float> (355 times, avg 57 ms)
20277 ms: std::__sort<__gnu_cxx::__normal_iterator<unsigned int *, std::vector... (355 times, avg 57 ms)
20274 ms: std::_Node_handle<std::basic_string<char>, std::pair<const std::basi... (355 times, avg 57 ms)
20008 ms: cv::makePtr<cv::detail::AffineWarper, float> (355 times, avg 56 ms)
20002 ms: cv::makePtr<cv::detail::StereographicWarper, float> (355 times, avg 56 ms)
19818 ms: cv::makePtr<cv::detail::TransverseMercatorWarper, float> (355 times, avg 55 ms)
19656 ms: cv::makePtr<cv::detail::MercatorWarper, float> (355 times, avg 55 ms)
19563 ms: std::_Node_handle_common<std::pair<const std::basic_string<char>, cv... (355 times, avg 55 ms)
18915 ms: cv::makePtr<cv::detail::CompressedRectilinearPortraitWarper, float, ... (355 times, avg 53 ms)
18753 ms: cv::makePtr<cv::detail::CompressedRectilinearWarper, float, float, f... (355 times, avg 52 ms)
18680 ms: std::make_shared<cv::detail::PlaneWarper, const float &> (355 times, avg 52 ms)
18515 ms: std::make_shared<cv::detail::SphericalWarper, const float &> (355 times, avg 52 ms)
18223 ms: cv::makePtr<cv::detail::PaniniPortraitWarper, float, float, float> (355 times, avg 51 ms)
18186 ms: cv::makePtr<cv::detail::PaniniWarper, float, float, float> (355 times, avg 51 ms)
17931 ms: std::unordered_map<int, int> (369 times, avg 48 ms)
**** Template sets that took longest to instantiate:
316345 ms: cv::Ptr<$> (17062 times, avg 18 ms)
250664 ms: std::shared_ptr<$> (18132 times, avg 13 ms)
238055 ms: cv::makePtr<$> (4265 times, avg 55 ms)
206288 ms: std::make_shared<$> (4269 times, avg 48 ms)
188863 ms: std::allocate_shared<$> (4269 times, avg 44 ms)
175080 ms: std::shared_ptr<$>::shared_ptr<$> (4617 times, avg 37 ms)
162855 ms: std::__shared_ptr<$>::__shared_ptr<$> (4362 times, avg 37 ms)
155030 ms: std::__or_<$> (6564 times, avg 23 ms)
150329 ms: std::__and_<$> (12698 times, avg 11 ms)
148817 ms: std::__shared_count<$>::__shared_count<$> (4269 times, avg 34 ms)
122788 ms: std::__shared_ptr<$> (18132 times, avg 6 ms)
122531 ms: std::vector<$> (13015 times, avg 9 ms)
91056 ms: std::is_convertible<$> (3752 times, avg 24 ms)
85315 ms: std::__not_<$> (4165 times, avg 20 ms)
73682 ms: std::__is_referenceable<$> (3200 times, avg 23 ms)
71039 ms: std::_Sp_counted_ptr_inplace<$>::_Sp_counted_ptr_inplace<$> (4269 times, avg 16 ms)
60552 ms: std::is_object<$> (2648 times, avg 22 ms)
59170 ms: std::vector<$>::push_back (1911 times, avg 30 ms)
55626 ms: std::_Vector_base<$> (12305 times, avg 4 ms)
55327 ms: std::map<std::basic_string<char>, cvflann::any>::operator[] (355 times, avg 155 ms)
50247 ms: std::vector<$>::vector (3191 times, avg 15 ms)
48947 ms: std::pair<$> (4865 times, avg 10 ms)
46732 ms: std::allocator<$> (1980 times, avg 23 ms)
46544 ms: std::vector<$>::_M_realloc_insert<$> (1896 times, avg 24 ms)
45055 ms: std::__sp_compatible_with<$> (1814 times, avg 24 ms)
42404 ms: cv::Ptr<$>::Ptr<$> (4274 times, avg 9 ms)
40766 ms: std::_Rb_tree<$>::_M_emplace_hint_unique<$> (428 times, avg 95 ms)
40500 ms: std::is_nothrow_destructible<$> (5960 times, avg 6 ms)
40379 ms: std::add_lvalue_reference<$> (1753 times, avg 23 ms)
40292 ms: std::__uninitialized_copy_a<$> (2751 times, avg 14 ms)
**** Functions that took longest to compile:
3230 ms: stbi__load_main(stbi__context*, int*, int*, int*, int, stbi__result_... (visp/modules/io/src/image/private/vpImageIoStb.cpp)
3004 ms: matd_svd_tall(matd_t*, int) (visp/3rdparty/apriltag/common/matd.cpp)
2206 ms: vpHomography::computeDisplacement(vpHomography const&, double, doubl... (visp/modules/vision/src/homography-estimation/vpHomographyExtract.cpp)
2089 ms: vpHomography::computeDisplacement(unsigned int, vpPoint*, vpPoint*, ... (visp/modules/vision/src/homography-estimation/vpHomographyVVS.cpp)
2083 ms: vpHomography::computeDisplacement(unsigned int, vpPoint*, vpPoint*, ... (visp/modules/vision/src/homography-estimation/vpHomographyVVS.cpp)
2081 ms: vpCalibration::calibVVSWithDistortionMulti(std::vector<vpCalibration... (visp/modules/vision/src/calibration/vpCalibrationTools.cpp)
2044 ms: vpMeEllipse::leastSquareRobust(vpImage<unsigned char> const&) (visp/modules/tracker/me/src/moving-edges/vpMeEllipse.cpp)
1955 ms: Simd::Sse41::ZlibCompress(unsigned char*, int, int, Simd::OutputMemo... (visp/3rdparty/simdlib/Simd/SimdSse41ImageSavePng.cpp)
1933 ms: stbi__bmp_parse_header(stbi__context*, stbi__bmp_data*) (visp/modules/io/src/image/private/vpImageIoStb.cpp)
1932 ms: Simd::Base::ZlibCompress(unsigned char*, int, int, Simd::OutputMemor... (visp/3rdparty/simdlib/Simd/SimdBaseImageSavePng.cpp)
1855 ms: vp::clahe(vpImage<unsigned char> const&, vpImage<unsigned char>&, in... (visp/modules/imgproc/src/vpCLAHE.cpp)
1686 ms: tinyexr::DecodePixelData(unsigned char**, int const*, unsigned char ... (visp/modules/io/src/image/private/vpImageIoTinyEXR.cpp)
1665 ms: vpCalibration::calibVVSMulti(std::vector<vpCalibration, std::allocat... (visp/modules/vision/src/calibration/vpCalibrationTools.cpp)
1484 ms: quad_decode_task(void*) (visp/3rdparty/apriltag/apriltag.cpp)
1472 ms: vpPose::poseRansac(vpHomogeneousMatrix&, bool (*)(vpHomogeneousMatri... (visp/modules/vision/src/pose-estimation/vpPoseRansac.cpp)
1453 ms: vpPose::computePlanarObjectPoseFromRGBD(vpImage<float> const&, std::... (visp/modules/vision/src/pose-estimation/vpPoseRGBD.cpp)
1419 ms: vpCalibration::calibVVS(vpCameraParameters&, vpHomogeneousMatrix&, b... (visp/modules/vision/src/calibration/vpCalibrationTools.cpp)
1413 ms: Simd::Base::OperationBinary8u(unsigned char const*, unsigned long, u... (visp/3rdparty/simdlib/Simd/SimdBaseOperation.cpp)
1407 ms: void Simd::Sse41::OperationBinary8u<true>(unsigned char const*, unsi... (visp/3rdparty/simdlib/Simd/SimdSse41Operation.cpp)
1390 ms: vpCalibration::calibVVSWithDistortion(vpCameraParameters&, vpHomogen... (visp/modules/vision/src/calibration/vpCalibrationTools.cpp)
1380 ms: vpHomography::robust(std::vector<double, std::allocator<double> > co... (visp/modules/vision/src/homography-estimation/vpHomography.cpp)
1358 ms: stbi__create_png_image_raw(stbi__png*, unsigned char*, unsigned int,... (visp/modules/io/src/image/private/vpImageIoStb.cpp)
1342 ms: vpMeNurbs::seekExtremitiesCanny(vpImage<unsigned char> const&) (visp/modules/tracker/me/src/moving-edges/vpMeNurbs.cpp)
1332 ms: void Simd::Sse41::OperationBinary8u<false>(unsigned char const*, uns... (visp/3rdparty/simdlib/Simd/SimdSse41Operation.cpp)
1302 ms: image_u8x3_gaussian_blur(image_u8x3*, double, int) (visp/3rdparty/apriltag/common/image_u8x3.cpp)
1262 ms: vpNurbs::globalCurveApprox(std::vector<vpImagePoint, std::allocator<... (visp/modules/tracker/me/src/moving-edges/vpNurbs.cpp)
1249 ms: lmder(void (*)(int, int, double*, double*, double*, int, int), int, ... (visp/modules/vision/src/pose-estimation/vpLevenbergMarquartd.cpp)
1249 ms: vpHomography::computeRotation(unsigned int, vpPoint*, vpPoint*, vpHo... (visp/modules/vision/src/homography-estimation/vpHomographyVVS.cpp)
1247 ms: vp::findContours(vpImage<unsigned char> const&, vp::vpContour&, std:... (visp/modules/imgproc/src/vpContours.cpp)
1228 ms: vpHomography::ransac(std::vector<double, std::allocator<double> > co... (visp/modules/vision/src/homography-estimation/vpHomographyRansac.cpp)
**** Function sets that took longest to compile / optimize:
24478 ms: vpArray2D<$>::resize(unsigned int, unsigned int, bool, bool) (183 times, avg 133 ms)
5341 ms: void Simd::Sse41::BlurImage<$>(Simd::BlurParam const&, Simd::Base::A... (17 times, avg 314 ms)
4843 ms: void Simd::Base::BlurImage<$>(Simd::BlurParam const&, Simd::Base::Al... (18 times, avg 269 ms)
4375 ms: void vpImageFilter::filterY<$>(vpImage<$> const&, vpImage<$>&, doubl... (25 times, avg 175 ms)
4312 ms: vpImage<$>::init(unsigned int, unsigned int) (88 times, avg 49 ms)
2958 ms: void Simd::Avx2::BlurImage<$>(Simd::BlurParam const&, Simd::Base::Al... (17 times, avg 174 ms)
2923 ms: vpArray2D<$>::~vpArray2D() (171 times, avg 17 ms)
2792 ms: void Simd::Sse41::OperationBinary8u<$>(unsigned char const*, unsigne... (3 times, avg 930 ms)
2485 ms: void vpImageFilter::filterX<$>(vpImage<$> const&, vpImage<$>&, doubl... (14 times, avg 177 ms)
2391 ms: vp::clahe(vpImage<$> const&, vpImage<$>&, int, int, float, bool) (3 times, avg 797 ms)
2208 ms: vpHomography::computeDisplacement(vpHomography const&, double, doubl... (2 times, avg 1104 ms)
2087 ms: vpCalibration::calibVVSWithDistortionMulti(std::vector<$>&, vpCamera... (2 times, avg 1043 ms)
2046 ms: vpMeEllipse::leastSquareRobust(vpImage<$> const&) (2 times, avg 1023 ms)
2025 ms: std::vector<$>::_M_default_append(unsigned long) (84 times, avg 24 ms)
1914 ms: void Simd::Base::ResizerByteBicubic::RunS<$>(unsigned char const*, u... (4 times, avg 478 ms)
1755 ms: void Simd::Sse41::GaussianBlur3x3<$>(unsigned char const*, unsigned ... (9 times, avg 195 ms)
1695 ms: vpCalibration::calibVVSMulti(std::vector<$>&, vpCameraParameters&, d... (2 times, avg 847 ms)
1688 ms: tinyexr::DecodePixelData(unsigned char**, int const*, unsigned char ... (2 times, avg 844 ms)
1540 ms: vpPose::computePlanarObjectPoseFromRGBD(vpImage<$> const&, std::vect... (2 times, avg 770 ms)
1386 ms: vpMeNurbs::seekExtremitiesCanny(vpImage<$> const&) (2 times, avg 693 ms)
1381 ms: vpHomography::robust(std::vector<$> const&, std::vector<$> const&, s... (2 times, avg 690 ms)
1320 ms: void Simd::Sse41::ResizerByteArea1x1::Run<$>(unsigned char const*, u... (4 times, avg 330 ms)
1287 ms: void Simd::Base::ResizerByteArea2x2::Run<$>(unsigned char const*, un... (4 times, avg 321 ms)
1278 ms: void Simd::Base::ResizerByteArea1x1::Run<$>(unsigned char const*, un... (5 times, avg 255 ms)
1275 ms: vpNurbs::globalCurveApprox(std::vector<$>&, unsigned int, unsigned i... (2 times, avg 637 ms)
1253 ms: vpHomography::ransac(std::vector<$> const&, std::vector<$> const&, s... (2 times, avg 626 ms)
1251 ms: vp::findContours(vpImage<$> const&, vp::vpContour&, std::vector<$>&,... (2 times, avg 625 ms)
1238 ms: void Simd::Base::ResizerByteBicubic::RunB<$>(unsigned char const*, u... (4 times, avg 309 ms)
1203 ms: void Simd::Avx2::OperationBinary8u<$>(unsigned char const*, unsigned... (2 times, avg 601 ms)
1198 ms: void Simd::Sse41::BlurImageAny<$>(Simd::BlurParam const&, Simd::Base... (4 times, avg 299 ms)
**** Expensive headers:
4166641 ms: visp-build/include/visp3/core/vpConfig.h (included 355 times, avg 11737 ms), included via:
107x: <direct include>
31x: vpDebug.h
13x: vpException.h
11x: vpColVector.h vpArray2D.h
11x: vpMath.h
9x: vpBasicFeature.h vpColVector.h vpArray2D.h
...
922974 ms: visp/modules/core/include/visp3/core/vpArray2D.h (included 260 times, avg 3549 ms), included via:
16x: vpColVector.h
13x: vpDisplay.h vpCameraParameters.h vpColVector.h
11x: vpImageConvert.h vpImage.h vpRGBa.h vpColVector.h
9x: vpCameraParameters.h vpColVector.h
9x: vpBasicFeature.h vpColVector.h
9x: vpMomentGravityCenter.h vpMomentDatabase.h vpImage.h vpRGBa.h vpColVector.h
...
763506 ms: visp/modules/core/include/visp3/core/vpColVector.h (included 274 times, avg 2786 ms), included via:
16x: <direct include>
13x: vpDisplay.h vpCameraParameters.h
11x: vpImageConvert.h vpImage.h vpRGBa.h
9x: vpCameraParameters.h
9x: vpBasicFeature.h
9x: vpMomentGravityCenter.h vpMomentDatabase.h vpImage.h vpRGBa.h
...
542739 ms: visp/modules/core/include/visp3/core/vpDebug.h (included 237 times, avg 2290 ms), included via:
46x: <direct include>
15x: vpDisplay.h vpCameraParameters.h
11x: vpImageConvert.h
9x: vpCameraParameters.h
9x: vpMomentGravityCenter.h vpMomentDatabase.h vpImage.h
9x: vpBasicFeature.h vpCameraParameters.h
...
504155 ms: visp/3rdparty/simdlib/Simd/SimdMemory.h (included 80 times, avg 6301 ms), included via:
61x: <direct include>
13x: SimdStore.h SimdLog.h SimdArray.h
4x: SimdImageLoad.h SimdMemoryStream.h
1x: SimdGaussianBlur.h SimdArray.h
1x: SimdAlphaBlending.h SimdStore.h SimdLog.h SimdArray.h
452621 ms: /usr/include/c++/9/algorithm (included 367 times, avg 1233 ms), included via:
105x: vpConfig.h opencv.hpp core.hpp base.hpp
30x: vpDebug.h vpConfig.h opencv.hpp core.hpp base.hpp
18x: <direct include>
13x: vpException.h vpConfig.h opencv.hpp core.hpp base.hpp
9x: vpBasicFeature.h vpColVector.h vpArray2D.h vpConfig.h opencv.hpp core.hpp base.hpp
9x: vpMath.h vpConfig.h opencv.hpp core.hpp base.hpp
...
378106 ms: /usr/include/c++/9/iostream (included 147 times, avg 2572 ms), included via:
61x: SimdMemory.h
28x: vpDebug.h
14x: <direct include>
13x: SimdStore.h SimdLog.h SimdArray.h SimdMemory.h
4x: SimdImageLoad.h SimdMemoryStream.h SimdMemory.h
4x: vpConfig.h opencv.hpp flann.hpp flann_base.hpp params.h
...
375938 ms: /usr/include/c++/9/functional (included 369 times, avg 1018 ms), included via:
105x: vpConfig.h opencv.hpp core.hpp base.hpp algorithm glue_algorithm_defs.h
30x: vpDebug.h vpConfig.h opencv.hpp core.hpp base.hpp algorithm glue_algorithm_defs.h
17x: algorithm glue_algorithm_defs.h
12x: vpException.h vpConfig.h opencv.hpp core.hpp base.hpp algorithm glue_algorithm_defs.h
9x: vpMath.h vpConfig.h opencv.hpp core.hpp base.hpp algorithm glue_algorithm_defs.h
9x: vpBasicFeature.h vpColVector.h vpArray2D.h vpConfig.h opencv.hpp core.hpp base.hpp algorithm glue_algorithm_defs.h
...
352951 ms: visp/3rdparty/simdlib/Simd/SimdDefs.h (included 97 times, avg 3638 ms), included via:
61x: SimdMemory.h
13x: SimdStore.h
11x: <direct include>
4x: SimdImageLoad.h SimdMemoryStream.h SimdMemory.h
3x: SimdEnable.h
2x: SimdConversion.h SimdConst.h SimdInit.h
...
346901 ms: visp/modules/core/include/visp3/core/vpCameraParameters.h (included 163 times, avg 2128 ms), included via:
17x: vpMomentObject.h vpPoint.h vpForwardProjection.h vpTracker.h
15x: vpDisplay.h
9x: <direct include>
9x: vpBasicFeature.h
6x: vpMeterPixelConversion.h
4x: vpPolygon.h
...
done in 0.3s. ViSP master at
|
Beta Was this translation helpful? Give feedback.
-
I will summarise in the ViSP Wiki some information about how to profile the ViSP compilation time in order to try to reduce the build time (if possible).
Examples about the build time profiling below:
Log:
details
Using See++ Compiler Profiler for visualisation:
core/math
folder:core/image
folder:mbt
folder:3rdparty/simdlib
folder:3rdparty/apriltag
folderBeta Was this translation helpful? Give feedback.
All reactions