Searched refs:GetLock (Results 1 – 5 of 5) sorted by relevance
/aosp12/art/runtime/ |
H A D | barrier.h | 53 void Pass(Thread* self) REQUIRES(!GetLock()); 56 void Wait(Thread* self) REQUIRES(!GetLock()); 67 void Increment(Thread* self, int delta) REQUIRES(!GetLock()); 71 bool Increment(Thread* self, int delta, uint32_t timeout_ms) REQUIRES(!GetLock()); 75 void Init(Thread* self, int count) REQUIRES(!GetLock()); 77 int GetCount(Thread* self) REQUIRES(!GetLock()); 80 void SetCountLocked(Thread* self, int count) REQUIRES(GetLock()); 82 Mutex* GetLock() { in GetLock() function 87 int count_ GUARDED_BY(GetLock()); 90 std::unique_ptr<ConditionVariable> condition_ GUARDED_BY(GetLock());
|
H A D | barrier.cc | 39 MutexLock mu(self, *GetLock()); in Pass() 48 MutexLock mu(self, *GetLock()); in Init() 54 MutexLock mu(self, *GetLock()); in Increment() 74 MutexLock mu(self, *GetLock()); in Increment() 95 MutexLock mu(self, *GetLock()); in GetCount()
|
H A D | class_table.h | 256 ReaderWriterMutex& GetLock() { in GetLock() function
|
/aosp12/art/runtime/base/ |
H A D | timing_logger.h | 37 void End() REQUIRES(!GetLock()); 38 void Reset() REQUIRES(!GetLock()); 39 void Dump(std::ostream& os) const REQUIRES(!GetLock()); 45 void SetName(const std::string& name) REQUIRES(!GetLock()); 46 void AddLogger(const TimingLogger& logger) REQUIRES(!GetLock()); 47 size_t GetIterations() const REQUIRES(!GetLock()); 66 void DumpAverages(std::ostream &os) const REQUIRES(GetLock()); 67 void AddPair(const char* label, uint64_t delta_time) REQUIRES(GetLock()); 72 Mutex* GetLock() const { in GetLock() function 80 std::vector<CumulativeTime> cumulative_timers_ GUARDED_BY(GetLock()); [all …]
|
H A D | timing_logger.cc | 50 MutexLock mu(Thread::Current(), *GetLock()); in SetName() 58 MutexLock mu(Thread::Current(), *GetLock()); in End() 63 MutexLock mu(Thread::Current(), *GetLock()); in Reset() 70 MutexLock mu(Thread::Current(), *GetLock()); in AddLogger() 82 MutexLock mu(Thread::Current(), *GetLock()); in GetIterations() 87 MutexLock mu(Thread::Current(), *GetLock()); in Dump()
|