17 #ifndef __deal2__timer_h
18 #define __deal2__timer_h
20 #include <deal.II/base/config.h>
21 #include <deal.II/base/conditional_ostream.h>
22 #include <deal.II/base/thread_management.h>
23 #include <deal.II/base/utilities.h>
25 #ifdef DEAL_II_WITH_MPI
84 #ifdef DEAL_II_WITH_MPI
123 template <
class STREAM>
241 #ifdef DEAL_II_WITH_MPI
394 #ifdef DEAL_II_WITH_MPI
407 std::ostream &stream,
464 void exit_section (
const std::string §ion_name = std::string());
519 double total_cpu_time;
520 double total_wall_time;
521 unsigned int n_calls;
583 #ifdef DEAL_II_WITH_MPI
594 template <
class STREAM>
631 timer(timer_), in(true)
649 timer.exit_section();
653 DEAL_II_NAMESPACE_CLOSE
MPI_Comm mpi_communicator
void print_data(STREAM &stream) const
MPI_Comm mpi_communicator
void enter_section(const std::string §ion_name)
const Utilities::MPI::MinMaxAvg & get_data() const
void exit_section(const std::string §ion_name=std::string())
double start_time_children
TimerOutput(std::ostream &stream, const enum OutputFrequency output_frequency, const enum OutputType output_type)
std::list< std::string > active_sections
std::map< std::string, Section > sections
Utilities::System::MinMaxAvg mpi_data
ConditionalOStream out_stream
double cumulative_wall_time
double operator()() const
void enter_subsection(const std::string §ion_name)
void print_summary() const
Scope(::TimerOutput &timer_, const std::string §ion_name)
void leave_subsection(const std::string §ion_name=std::string())