From 1be847c4b3774aeec9cc70ece968f190dd3b5de9 Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 7 Mar 2007 17:12:04 +0000 Subject: [PATCH] Also record assembly and solve times. git-svn-id: https://svn.dealii.org/trunk@14546 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-27/step-27.cc | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/deal.II/examples/step-27/step-27.cc b/deal.II/examples/step-27/step-27.cc index 0f306a64a5..2f457fcce9 100644 --- a/deal.II/examples/step-27/step-27.cc +++ b/deal.II/examples/step-27/step-27.cc @@ -88,7 +88,7 @@ class LaplaceProblem Vector solution; Vector system_rhs; - Timer distr, condense, hang; + Timer distr, condense, hang, assemble, solver; }; @@ -634,15 +634,26 @@ void LaplaceProblem::run () std::cout << " Number of constraints : " << hanging_node_constraints.n_constraints() << std::endl; - + + assemble.reset (); + assemble.start (); assemble_system (); + assemble.stop(); + + + solver.reset(); + solver.start(); solve (); + solver.stop(); + all.stop(); std::cout << " All: " << all() << ", distr: " << distr() << ", hang: " << hang() << ", condense: " << condense() + << ", assemble: " << assemble() + << ", solver: " << solver() << std::endl; output_results (cycle); -- 2.39.5