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,
572 void enter_subsection (
const std::string §ion_name);
577 void enter_section (
const std::string §ion_name);
585 void leave_subsection (
const std::string §ion_name = std::string());
590 void exit_section (
const std::string §ion_name = std::string());
596 void print_summary ()
const;
604 void disable_output ();
612 void enable_output ();
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>
732 enter_subsection(section_name);
741 leave_subsection(section_name);
747 timer(timer_), in(true)
774 DEAL_II_NAMESPACE_CLOSE
const Utilities::MPI::MinMaxAvg & get_data() 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 start_time_children
std::list< std::string > active_sections
void print_data(StreamType &stream) const
double get_lap_time() const
std::map< std::string, Section > sections
ConditionalOStream out_stream
double cumulative_wall_time
double operator()() const
OutputFrequency output_frequency
Scope(::TimerOutput &timer_, const std::string §ion_name)