From 1d7b6c729dc2ac23b3bc2bcece82938f3e947bf7 Mon Sep 17 00:00:00 2001 From: David Wells Date: Sat, 7 Mar 2020 15:28:12 -0500 Subject: [PATCH] step-69: fix some timer variable names. --- examples/step-69/step-69.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/step-69/step-69.cc b/examples/step-69/step-69.cc index 9091ef7835..97f3873775 100644 --- a/examples/step-69/step-69.cc +++ b/examples/step-69/step-69.cc @@ -1839,8 +1839,8 @@ namespace Step69 template void TimeStepping::prepare() { - TimerOutput::Scope scopeime(computing_timer, - "time_stepping - prepare scratch space"); + TimerOutput::Scope scope(computing_timer, + "time_stepping - prepare scratch space"); for (auto &it : temporary_vector) it.reinit(offline_data->partitioner); @@ -1914,8 +1914,8 @@ namespace Step69 // computes the viscosity $d_{ij}$ for a subrange [i1, i2) of column // indices: { - TimerOutput::Scope scopeime(computing_timer, - "time_stepping - 1 compute d_ij"); + TimerOutput::Scope scope(computing_timer, + "time_stepping - 1 compute d_ij"); const auto on_subranges = // [&](typename decltype(indices_relevant)::iterator i1, @@ -2005,8 +2005,8 @@ namespace Step69 std::atomic tau_max{std::numeric_limits::infinity()}; { - TimerOutput::Scope scopeime( - computing_timer, "time_stepping - 2 compute d_ii, and tau_max"); + TimerOutput::Scope scope(computing_timer, + "time_stepping - 2 compute d_ii, and tau_max"); // on_subranges() will be executed on every thread individually. The // variable tau_max_on_subrange is thus stored thread @@ -2092,8 +2092,8 @@ namespace Step69 // artifacts. { - TimerOutput::Scope scopeime(computing_timer, - "time_stepping - 3 perform update"); + TimerOutput::Scope scope(computing_timer, + "time_stepping - 3 perform update"); const auto on_subranges = [&](typename decltype(indices_owned)::iterator i1, -- 2.39.5