8 #ifndef ABLASTR_TIMER_H_
9 #define ABLASTR_TIMER_H_
amrex::Real get_duration() noexcept
This function returns the duration, calculated as the difference between the stop time and the start ...
Definition: Timer.cpp:29
void record_stop_time() noexcept
This function records the stop time.
Definition: Timer.cpp:23
Timer()
The constructor.
Definition: Timer.cpp:14
amrex::Real get_global_duration()
This collective function returns the maximum duration recorded across all the MPI ranks (in seconds).
Definition: Timer.cpp:35
amrex::Real m_stop_time
Definition: Timer.H:63
amrex::Real m_start_time
Definition: Timer.H:62
void record_start_time() noexcept
This function records the start time.
Definition: Timer.cpp:17