]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
quicktest: add debug output
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 5 Nov 2013 16:31:42 +0000 (16:31 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 5 Nov 2013 16:31:42 +0000 (16:31 +0000)
git-svn-id: https://svn.dealii.org/trunk@31548 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/tests/quick_tests/tbb.cc

index 0b3e8f63f105d50c20b588f783be07b705f333ac..a30467bec655c439fa0911c6529544b109c1851b 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <deal.II/base/thread_management.h>
 #include <deal.II/base/work_stream.h>
+#include <tbb/task_scheduler_init.h>
 #include <iostream>
 
 using namespace dealii;
@@ -82,6 +83,8 @@ void test2()
 
 int main ()
 {
+  std::cout << "TBB will use " << tbb::task_scheduler_init::default_num_threads() << " threads." << std::endl;
+  
   test1();
   test2();
 }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.