Skip to content

Commit

Permalink
Panzer: miniem: explicitly stop stacked timer
Browse files Browse the repository at this point in the history
This necessary for the Kokkos profiling tools to work properly
with the stacked timers.  See comment in item 1 of
trilinos#4138 (comment).
  • Loading branch information
jhux2 authored and wfspotz committed Jan 17, 2019
1 parent 3e976cf commit 421bf88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/panzer/mini-em/example/BlockPrec/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,7 @@ int main_(Teuchos::CommandLineProcessor &clp, int argc,char * argv[])

// Output timer data
if (use_stacked_timer) {
stacked_timer->stop("Mini-EM");
Teuchos::StackedTimer::OutputOptions options;
options.output_fraction = options.output_histogram = options.output_minmax = true;
stacked_timer->report(*out, comm, options);
Expand Down

0 comments on commit 421bf88

Please sign in to comment.