diff options
author | Jon Atack <jon@atack.com> | 2021-09-06 20:59:58 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-09-06 23:43:51 +0200 |
commit | 8d2f847ed913f15677ae978a412015ac844ffceb (patch) | |
tree | a773d0e75b49b4b5b301182b49a66f3aafee483f /src/sync.cpp | |
parent | 6718fbe90a0d9384c4d954b65f1fd4e69838d10c (diff) |
sync: inline lock contention logging macro to fix time duration
Co-authored-by: Martin Ankerl <martin.ankerl@gmail.com>
Diffstat (limited to 'src/sync.cpp')
-rw-r--r-- | src/sync.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/sync.cpp b/src/sync.cpp index eace86d9dd..98e6d3d65d 100644 --- a/src/sync.cpp +++ b/src/sync.cpp @@ -9,7 +9,6 @@ #include <sync.h> #include <logging.h> -#include <logging/timer.h> #include <tinyformat.h> #include <util/strencodings.h> #include <util/threadnames.h> @@ -24,11 +23,6 @@ #include <utility> #include <vector> -void LockContention(const char* pszName, const char* pszFile, int nLine) -{ - LOG_TIME_MICROS_WITH_CATEGORY(strprintf("%s, %s:%d", pszName, pszFile, nLine), BCLog::LOCK); -} - #ifdef DEBUG_LOCKORDER // // Early deadlock detection. |