![]() |
deal.II version 9.7.0
|
The Timer class stores timing information for two different clocks: a wall clock and a CPU usage clock. Since the logic for handling both clocks is, in most places, identical, we collect the relevant measurements for each clock into this struct.
| clock_type_ | The type of the clock whose measurements are being stored. This class should conform to the usual clock interface expected by std::chrono (i.e., the correct alias and a static now() method). |

Public Types | |
| using | clock_type = clock_type_ |
| using | time_point_type = typename clock_type::time_point |
| using | duration_type = typename clock_type::duration |
Public Member Functions | |
| ClockMeasurements () | |
| void | reset () |
Public Attributes | |
| time_point_type | current_lap_start_time |
| duration_type | accumulated_time |
| duration_type | last_lap_time |
| using Timer::ClockMeasurements< clock_type_ >::clock_type = clock_type_ |
| using Timer::ClockMeasurements< clock_type_ >::time_point_type = typename clock_type::time_point |
| using Timer::ClockMeasurements< clock_type_ >::duration_type = typename clock_type::duration |
| Timer::ClockMeasurements< clock_type_ >::ClockMeasurements | ( | ) |
| void Timer::ClockMeasurements< clock_type_ >::reset | ( | ) |
| time_point_type Timer::ClockMeasurements< clock_type_ >::current_lap_start_time |
| duration_type Timer::ClockMeasurements< clock_type_ >::accumulated_time |
| duration_type Timer::ClockMeasurements< clock_type_ >::last_lap_time |