Unverified Commit 5deb7c55 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Fix #1676

parent 9cd25dd2
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <spdlog/fmt/fmt.h> #include <spdlog/fmt/fmt.h>
// Stopwatch support for spdlog (using std::chrono::high_resolution_clock). // Stopwatch support for spdlog (using std::chrono::steady_clock).
// Displays elapsed seconds since construction as double. // Displays elapsed seconds since construction as double.
// //
// Usage: // Usage:
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
namespace spdlog { namespace spdlog {
class stopwatch class stopwatch
{ {
using clock = std::chrono::high_resolution_clock; using clock = std::chrono::steady_clock;
std::chrono::time_point<clock> start_tp_; std::chrono::time_point<clock> start_tp_;
public: public:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment