From 37c2cd0d8f9ab8ff3622ff4de23341fd4a75f946 Mon Sep 17 00:00:00 2001 From: "Bastian M. Wojek" Date: Tue, 31 May 2011 14:55:56 +0000 Subject: [PATCH] Added some debugging information --- src/classes/PFitter.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/classes/PFitter.cpp b/src/classes/PFitter.cpp index 44d8a150..27cea37e 100644 --- a/src/classes/PFitter.cpp +++ b/src/classes/PFitter.cpp @@ -29,6 +29,14 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#ifdef HAVE_GOMP +#include +#endif + #include #include #include @@ -170,6 +178,11 @@ Bool_t PFitter::DoFit() return true; } + // debugging information + #ifdef HAVE_GOMP + cout << endl << ">> Number of available threads for the function optimization: " << omp_get_num_procs() << endl; + #endif + // real fit wanted if (fUseChi2) cout << endl << ">> Chi Square fit will be executed" << endl;