diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-11-04 20:09:03 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-11-19 08:41:37 +0900 |
commit | 62ec908efc0ea2390920d319c51984f51ce450bd (patch) | |
tree | 52f8ca9f002c5527beef7e6523bb628d34f139c4 /lib | |
parent | e5175246c809695dff2aff4b50f4ac5c0e6c2f46 (diff) | |
download | libquotient-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.h | 8 |
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; } } |