This commit is contained in:
Gabi Melman 2020-09-21 03:31:19 +03:00 committed by GitHub
parent 9cd25dd216
commit 5deb7c55e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@
#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.
//
// Usage:
@ -27,7 +27,7 @@
namespace spdlog {
class stopwatch
{
using clock = std::chrono::high_resolution_clock;
using clock = std::chrono::steady_clock;
std::chrono::time_point<clock> start_tp_;
public: