32 using clock = std::chrono::steady_clock;
41 std::chrono::duration<double>
elapsed()
const
43 return std::chrono::duration<double>(clock::now() -
start_tp_);
55#ifdef SPDLOG_USE_STD_FORMAT
65 template <
typename FormatContext>
Definition stopwatch.h:31
stopwatch()
Definition stopwatch.h:36
std::chrono::time_point< clock > start_tp_
Definition stopwatch.h:33
void reset()
Definition stopwatch.h:46
std::chrono::duration< double > elapsed() const
Definition stopwatch.h:41
std::chrono::steady_clock clock
Definition stopwatch.h:32
Definition bin_to_hex.h:111