summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjan.reininghaus <jan.reininghaus@8e3bb3c2-eed4-f18f-5264-0b6c94e6926d>2014-05-05 11:02:22 +0000
committerjan.reininghaus <jan.reininghaus@8e3bb3c2-eed4-f18f-5264-0b6c94e6926d>2014-05-05 11:02:22 +0000
commitdf8ffc7c0bcc808afd48cc1e9ff7adb3fdb6a1e0 (patch)
treeb6bf73a34a992571cb34e38bbf72c368a9f9ae32
parentfda7e8a2c82b52119c548ba80f5e49bb655986be (diff)
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
-rw-r--r--src/benchmark.cpp4
1 files changed, 2 insertions, 2 deletions
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 << " ";
}