minotors¶
- group turbo_times_stop_watcher
-
class StopWatcher¶
- #include <stop_watcher.h>
This class is used to time a block of code, and print out the time it took to run.
It is useful for timing the performance of a block of code.
Public Functions
-
inline std::string make_time_str(turbo::Duration span) const¶
This prints out a time string from a time.
-
inline std::string make_time_str(turbo::Duration span) const¶
-
class StopWatcher¶