|
|
@ -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
|
|
|
|
{
|
|
|
|
{
|
|
|
|