mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
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.
|
||||
// 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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user