5 #ifndef JODA_RECURRINGTIMER_H
6 #define JODA_RECURRINGTIMER_H
32 void log(
const std::string &what,
const std::string &part)
const;
41 std::chrono::time_point<std::chrono::system_clock>
now();
42 std::chrono::time_point<std::chrono::system_clock>
startTime;
43 std::chrono::duration<long long, std::micro>
totalDur{};
Definition: RecurringTimer.h:14
void stop()
Definition: RecurringTimer.cpp:16
void start()
Definition: RecurringTimer.cpp:11
std::chrono::duration< long long, std::micro > totalDur
Definition: RecurringTimer.h:43
double durationSeconds() const
Definition: RecurringTimer.cpp:36
void log(const std::string &what, const std::string &part) const
Definition: RecurringTimer.cpp:21
std::chrono::time_point< std::chrono::system_clock > now()
Definition: RecurringTimer.cpp:8
std::chrono::time_point< std::chrono::system_clock > startTime
Definition: RecurringTimer.h:42