From e40a84d2f9e8959ed488be243d2f24e9823ba72e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Fri, 23 Dec 2016 16:30:37 +0100 Subject: [PATCH] use Real_timer to avoid since Timer measure cpu time --- .../test/Polygon_mesh_processing/test_pmp_distance.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Polygon_mesh_processing/test/Polygon_mesh_processing/test_pmp_distance.cpp b/Polygon_mesh_processing/test/Polygon_mesh_processing/test_pmp_distance.cpp index 644acc6d2b7..7d1e41d572a 100644 --- a/Polygon_mesh_processing/test/Polygon_mesh_processing/test_pmp_distance.cpp +++ b/Polygon_mesh_processing/test/Polygon_mesh_processing/test_pmp_distance.cpp @@ -1,7 +1,7 @@ #include #include #include -#include +#include #include @@ -272,7 +272,7 @@ int main(int, char** argv) std::cout << "First mesh has " << num_faces(m1) << " faces\n"; std::cout << "Second mesh has " << num_faces(m2) << " faces\n"; - CGAL::Timer time; + CGAL::Real_timer time; time.start(); std::cout << "Distance between meshes (parallel) " << CGAL::Polygon_mesh_processing::approximate_Hausdorff_distance(m1,m2,40000) @@ -294,5 +294,3 @@ int main(int, char** argv) return 0; } - -