Home
last modified time | relevance | path

Searched refs:blocked_tid (Results 1 – 2 of 2) sorted by relevance

/art/runtime/base/
Dmutex.cc157 ScopedContentionRecorder(BaseMutex* mutex, uint64_t blocked_tid, uint64_t owner_tid) in ScopedContentionRecorder() argument
159 blocked_tid_(kLogLockContentions ? blocked_tid : 0), in ScopedContentionRecorder()
294 void BaseMutex::RecordContention(uint64_t blocked_tid, in RecordContention() argument
304 if (log[slot].blocked_tid == blocked_tid && in RecordContention()
305 log[slot].owner_tid == blocked_tid) { in RecordContention()
313 log[new_slot].blocked_tid = blocked_tid; in RecordContention()
335 uint64_t blocked_tid = log[i].blocked_tid; in DumpContention() local
339 auto it = most_common_blocked.find(blocked_tid); in DumpContention()
341 most_common_blocked.Overwrite(blocked_tid, it->second + count); in DumpContention()
343 most_common_blocked.Put(blocked_tid, count); in DumpContention()
Dmutex.h115 void RecordContention(uint64_t blocked_tid, uint64_t owner_tid, uint64_t nano_time_blocked);
122 ContentionLogEntry() : blocked_tid(0), owner_tid(0) {} in ContentionLogEntry()
123 uint64_t blocked_tid; member