From 61ab540d8a96d32f0c9a76b02daf8e822cdf7907 Mon Sep 17 00:00:00 2001 From: Caner Candan Date: Sun, 28 Nov 2010 03:41:09 +0100 Subject: [PATCH] update --- eo/test/t-openmp.cpp | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/eo/test/t-openmp.cpp b/eo/test/t-openmp.cpp index 10c73ce0..54d2e710 100644 --- a/eo/test/t-openmp.cpp +++ b/eo/test/t-openmp.cpp @@ -173,13 +173,19 @@ int main(int ac, char** av) } } // end of runs - speedupFile << std::endl; - efficiencyFile << std::endl; - dynamicityFile << std::endl; + if ( measureConstTime == 1 ) + { + speedupFile << std::endl; + efficiencyFile << std::endl; + dynamicityFile << std::endl; + } - speedupFile_variable << std::endl; - efficiencyFile_variable << std::endl; - dynamicityFile_variable << std::endl; + if ( measureVarTime == 1 ) + { + speedupFile_variable << std::endl; + efficiencyFile_variable << std::endl; + dynamicityFile_variable << std::endl; + } } // end of dimension