From a81383549df4db8a487a847dca41900f3ab38c27 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sun, 4 Nov 2018 20:09:03 +0900 Subject: profilerMinNsecs(): Fix a misnomer - it's PROFILER_LOG_USECS now - and document it --- lib/logging.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/logging.h b/lib/logging.h index 6c93ca79..a3a65887 100644 --- a/lib/logging.h +++ b/lib/logging.h @@ -69,11 +69,11 @@ namespace QMatrixClient inline qint64 profilerMinNsecs() { return - #ifdef PROFILER_LOG_MIN_MS - PROFILER_LOG_MIN_MS - #else +#ifdef PROFILER_LOG_USECS + PROFILER_LOG_USECS +#else 200 - #endif +#endif * 1000; } } -- cgit v1.2.3