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,
445 void enter_subsection (
const std::string §ion_name);
450 void enter_section (
const std::string §ion_name);
459 void leave_subsection (
const std::string §ion_name = std::string());
464 void exit_section (
const std::string §ion_name = std::string());
471 void print_summary ()
const;
482 void disable_output ();
495 void enable_output ();
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>
616 enter_subsection(section_name);
625 leave_subsection(section_name);
631 timer(timer_), in(true)
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
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
Scope(::TimerOutput &timer_, const std::string §ion_name)