mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 09:59:33 +08:00
added SPDLOG_CLOCK_MONOTONIC example entry in tweakme file
This commit is contained in:
@@ -17,6 +17,14 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Under Linux, the much faster CLOCK_MONOTONIC clock can be used.
|
||||||
|
// This clock is more accurate than CLOCK_REALTIME_COARSE and faster than regular clock.
|
||||||
|
// Uncomment to use it instead of the regular clock.
|
||||||
|
// #define SPDLOG_CLOCK_MONOTONIC
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// Uncomment if date/time logging is not needed.
|
// Uncomment if date/time logging is not needed.
|
||||||
// This will prevent spdlog from quering the clock on each log call.
|
// This will prevent spdlog from quering the clock on each log call.
|
||||||
|
Reference in New Issue
Block a user