Searched refs:kLogLockContentions (Results 1 – 2 of 2) sorted by relevance
62 constexpr bool kLogLockContentions = false; variable69 constexpr bool kLogLockContentions = false; variable72 constexpr size_t kContentionLogDataSize = kLogLockContentions ? 1 : 0;73 constexpr size_t kAllMutexDataSize = kLogLockContentions ? 1 : 0;146 if (kLogLockContentions) { in HasEverContended()
158 : mutex_(kLogLockContentions ? mutex : nullptr), in ScopedContentionRecorder()159 blocked_tid_(kLogLockContentions ? blocked_tid : 0), in ScopedContentionRecorder()160 owner_tid_(kLogLockContentions ? owner_tid : 0), in ScopedContentionRecorder()161 start_nano_time_(kLogLockContentions ? NanoTime() : 0) { in ScopedContentionRecorder()171 if (kLogLockContentions) { in ~ScopedContentionRecorder()188 if (kLogLockContentions) { in BaseMutex()201 if (kLogLockContentions) { in ~BaseMutex()208 if (kLogLockContentions) { in DumpAll()288 if (kLogLockContentions) { in AddToWaitTime()297 if (kLogLockContentions) { in RecordContention()[all …]