Dune Core Modules (2.4.1)
timer.hh
Go to the documentation of this file.
150 std::chrono::duration<double> time_span = std::chrono::duration_cast<std::chrono::duration<double> >(now - cstart);
Timer(bool startImmediately=true)
A new timer, create and reset.
Definition: timer.hh:59
void reset()
Reset timer while keeping the running/stopped state.
Definition: timer.hh:66
double elapsed() const
Get elapsed user-time from last reset until now/last stop in seconds.
Definition: timer.hh:86
double lastElapsed() const
Get elapsed user-time from last start until now/last stop in seconds.
Definition: timer.hh:97
void start()
Start the timer and continue measurement if it is not running. Otherwise do nothing.
Definition: timer.hh:75
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 24, 23:30, 2024)