aboutsummaryrefslogtreecommitdiff
path: root/lib/logging.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-11-04 20:09:03 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-11-04 20:09:03 +0900
commita81383549df4db8a487a847dca41900f3ab38c27 (patch)
tree203bed3ae007465efbdb77465a34c72521284c76 /lib/logging.h
parent23ebed25b79f4b6edf630546d7d9d571398a1640 (diff)
downloadlibquotient-a81383549df4db8a487a847dca41900f3ab38c27.tar.gz
libquotient-a81383549df4db8a487a847dca41900f3ab38c27.zip
profilerMinNsecs(): Fix a misnomer - it's PROFILER_LOG_USECS now - and document it
Diffstat (limited to 'lib/logging.h')
-rw-r--r--lib/logging.h8
1 files changed, 4 insertions, 4 deletions
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;
}
}