16 #ifndef dealii__timer_h 17 #define dealii__timer_h 19 #include <deal.II/base/config.h> 20 #include <deal.II/base/conditional_ostream.h> 21 #include <deal.II/base/mpi.h> 22 #include <deal.II/base/thread_management.h> 23 #include <deal.II/base/utilities.h> 25 #ifdef DEAL_II_WITH_MPI 33 DEAL_II_NAMESPACE_OPEN
84 #ifdef DEAL_II_WITH_MPI 113 template <
class StreamType>
214 #ifdef DEAL_II_WITH_MPI 500 #ifdef DEAL_II_WITH_MPI 525 std::ostream &stream,
590 void exit_section (
const std::string §ion_name = std::string());
644 double total_cpu_time;
645 double total_wall_time;
646 unsigned int n_calls;
699 #ifdef DEAL_II_WITH_MPI 710 template <
class StreamType>
747 timer(timer_), in(true)
770 timer.exit_section();
774 DEAL_II_NAMESPACE_CLOSE
void print_summary() const
const Utilities::MPI::MinMaxAvg & get_data() const
double get_lap_time() const
MPI_Comm mpi_communicator
MPI_Comm mpi_communicator
Utilities::MPI::MinMaxAvg mpi_data
void enter_section(const std::string §ion_name)
void exit_section(const std::string §ion_name=std::string())
double operator()() const
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
ConditionalOStream out_stream
double cumulative_wall_time
void print_data(StreamType &stream) const
void enter_subsection(const std::string §ion_name)
OutputFrequency output_frequency
Scope(::TimerOutput &timer_, const std::string §ion_name)
void leave_subsection(const std::string §ion_name=std::string())