]> https://gitweb.dealii.org/ - dealii.git/commitdiff
scale times and add default target
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Thu, 31 May 2007 19:49:19 +0000 (19:49 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Thu, 31 May 2007 19:49:19 +0000 (19:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@14740 0785d39b-7218-0410-832d-ea1e28bc413d

tests/benchmarks/Makefile
tests/benchmarks/dof_handler_timing_01.cc

index cee896d02b541da8e438c20ec6cb848e9ee1577e..f091b3202ba8d3ec57b44e4da42f37ac978d38ca 100644 (file)
@@ -58,6 +58,9 @@ endif
        @echo Linking > $*/status
        @$(CXX) $(LDFLAGS) -o $@ $^ $(LIBS)
 
+%/output : %/exe
+       @echo =====running======= $<
+       @$<
 
 ############################################################
 # After all these general rules, here is the target to be
index 87364c19e63e3677ef0c22a2ad6cd2318b983d46..ba4996826fff0dfa96c7e154c29768381247666b 100644 (file)
@@ -40,7 +40,7 @@ void check_dofs(DOF& dof, unsigned int repeat)
       FE_Q<DOF::dimension> fe(i);
       for (unsigned int i=0;i<repeat;++i)
        dof.distribute_dofs(fe);
-      deallog << dof.get_fe().get_name()
+      deallog << dof.get_fe().get_name() << '*' << repeat
              << " memory " << dof.memory_consumption()/1.e6 << std::endl;
     }
   
@@ -80,11 +80,11 @@ void check (bool local)
   
   deallog.push("DoF");
   DoFHandler<dim> dof(tr);
-  check_dofs(dof, (local ? 10 : 1));
+  check_dofs(dof, (local ? 100 : 10));
   deallog.pop();
   deallog.push("MGDoF");
   MGDoFHandler<dim> mgdof(tr);
-  check_dofs(mgdof, (local ? 10 : 1));
+  check_dofs(mgdof, (local ? 100 : 10));
   deallog.pop();
 }
 
@@ -102,7 +102,7 @@ int main()
   check<3>(true);
   deallog.pop();
   deallog.pop();
-  deallog.push("global");  
+  deallog.push("global");
   deallog.push("2d");
   check<2>(false);
   deallog.pop();

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.