mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 02:19:35 +08:00
Do not use CLOCK_REALTIME_COARSE by default
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user