diff options
author | Gard Spreemann <gspreemann@gmail.com> | 2017-10-08 11:15:17 +0200 |
---|---|---|
committer | Gard Spreemann <gspreemann@gmail.com> | 2017-10-08 11:15:17 +0200 |
commit | 866f6ce614e9c09c97fed12c8c0c2c9fb84fad3f (patch) | |
tree | 0c90eb9bab09ccc9785cdf2dc59f0ec861670b85 /example/Contraction/Rips_contraction.cpp | |
parent | 8d7329f3e5ad843e553c3c5503cecc28ef2eead6 (diff) |
GUDHI 2.0.1 as released by upstream in a tarball.upstream/2.0.1
Diffstat (limited to 'example/Contraction/Rips_contraction.cpp')
-rw-r--r-- | example/Contraction/Rips_contraction.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/example/Contraction/Rips_contraction.cpp b/example/Contraction/Rips_contraction.cpp index 8289b1d3..501b0e87 100644 --- a/example/Contraction/Rips_contraction.cpp +++ b/example/Contraction/Rips_contraction.cpp @@ -23,8 +23,8 @@ #include <gudhi/Skeleton_blocker.h> #include <gudhi/Off_reader.h> #include <gudhi/Point.h> +#include <gudhi/Clock.h> -#include <boost/timer/timer.hpp> #include <iostream> struct Geometry_trait { @@ -68,7 +68,7 @@ int main(int argc, char *argv[]) { build_rips(complex, atof(argv[2])); - boost::timer::auto_cpu_timer t; + Gudhi::Clock contraction_chrono("Time to simplify and enumerate simplices"); std::cout << "Initial complex has " << complex.num_vertices() << " vertices and " << @@ -90,8 +90,7 @@ int main(int argc, char *argv[]) { complex.num_blockers() << " blockers and " << num_simplices << " simplices" << std::endl; - - std::cout << "Time to simplify and enumerate simplices:\n"; + std::cout << contraction_chrono; return EXIT_SUCCESS; } |