From df8ffc7c0bcc808afd48cc1e9ff7adb3fdb6a1e0 Mon Sep 17 00:00:00 2001 From: "jan.reininghaus" Date: Mon, 5 May 2014 11:02:22 +0000 Subject: do not measure dualize time in benchmark.cpp with --latex option git-svn-id: https://phat.googlecode.com/svn/trunk@168 8e3bb3c2-eed4-f18f-5264-0b6c94e6926d --- src/benchmark.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/benchmark.cpp') diff --git a/src/benchmark.cpp b/src/benchmark.cpp index 3abb4cd..e393fef 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -181,8 +181,8 @@ void benchmark_latex( std::string input_filename, bool use_binary, Ansatz_type a reduction_algorithm( matrix ); } - double running_time = omp_get_wtime() - reduction_timer + dualization_time; - //double running_time = omp_get_wtime( ) - reduction_timer; + //double running_time = omp_get_wtime() - reduction_timer + dualization_time; + double running_time = omp_get_wtime( ) - reduction_timer; double running_time_rounded = floor( running_time * 10.0 + 0.5 ) / 10.0; std::cout << "& "<< setiosflags( std::ios::fixed ) << setiosflags( std::ios::showpoint ) << std::setprecision( 1 ) << running_time_rounded << " "; } -- cgit v1.2.3