Do not use CLOCK_REALTIME_COARSE by default

This commit is contained in:
Gabi Melman 2015-01-29 12:17:16 +02:00
parent dae66133c6
commit 6b0ef15644

View File

@ -38,11 +38,11 @@
// under linux, use the much faster CLOCK_REALTIME_COARSE clock. // 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 // 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__ //#ifdef __linux__
#define SPDLOG_CLOCK_COARSE //#define SPDLOG_CLOCK_COARSE
#endif //#endif
namespace spdlog namespace spdlog
{ {