Do not use CLOCK_REALTIME_COARSE by default
This commit is contained in:
parent
dae66133c6
commit
6b0ef15644
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user