aboutsummaryrefslogtreecommitdiff
path: root/lib
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-19 08:41:37 +0900
commit62ec908efc0ea2390920d319c51984f51ce450bd (patch)
tree52f8ca9f002c5527beef7e6523bb628d34f139c4 /lib
parente5175246c809695dff2aff4b50f4ac5c0e6c2f46 (diff)
downloadlibquotient-62ec908efc0ea2390920d319c51984f51ce450bd.tar.gz
libquotient-62ec908efc0ea2390920d319c51984f51ce450bd.zip
profilerMinNsecs(): Fix a misnomer - it's PROFILER_LOG_USECS now - and document it
Diffstat (limited to 'lib')
-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;
}
}