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/thread_management.h> 22 #include <deal.II/base/utilities.h> 24 #ifdef DEAL_II_WITH_MPI 32 DEAL_II_NAMESPACE_OPEN
83 #ifdef DEAL_II_WITH_MPI 112 template <
class StreamType>
213 #ifdef DEAL_II_WITH_MPI 435 every_call_and_summary,
478 #ifdef DEAL_II_WITH_MPI 503 std::ostream &stream,
550 void enter_subsection (
const std::string §ion_name);
555 void enter_section (
const std::string §ion_name);
563 void leave_subsection (
const std::string §ion_name = std::string());
568 void exit_section (
const std::string §ion_name = std::string());
574 void print_summary ()
const;
582 void disable_output ();
590 void enable_output ();
622 double total_cpu_time;
623 double total_wall_time;
624 unsigned int n_calls;
677 #ifdef DEAL_II_WITH_MPI 688 template <
class StreamType>
710 enter_subsection(section_name);
719 leave_subsection(section_name);
725 timer(timer_), in(true)
747 DEAL_II_NAMESPACE_CLOSE
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
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
OutputFrequency output_frequency
Scope(::TimerOutput &timer_, const std::string §ion_name)