From 6b0ef15644505a4fc7df4c5cf7588895abdde13a Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Thu, 29 Jan 2015 12:17:16 +0200 Subject: [PATCH] Do not use CLOCK_REALTIME_COARSE by default --- include/spdlog/common.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/spdlog/common.h b/include/spdlog/common.h index ee043039..45466ef6 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -38,11 +38,11 @@ // under linux, use the much faster CLOCK_REALTIME_COARSE clock. // this clock is less accurate - can be off by few millis - depending on the kernel HZ -// comment to use the regular (and slower) clock +// uncomment to use it instead of the regular (and slower) clock -#ifdef __linux__ -#define SPDLOG_CLOCK_COARSE -#endif +//#ifdef __linux__ +//#define SPDLOG_CLOCK_COARSE +//#endif namespace spdlog {