Searched refs:SyncClock (Results 1 – 6 of 6) sorted by relevance
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_clock.h | 27 class SyncClock { 29 SyncClock(); 79 void acquire(const SyncClock *src); 80 void release(SyncClock *dst) const; 81 void acq_rel(SyncClock *dst); 82 void ReleaseStore(SyncClock *dst) const; 88 static const uptr kDirtyTids = SyncClock::kDirtyTids; 95 bool IsAlreadyAcquired(const SyncClock *src) const; 96 void UpdateCurrentThread(SyncClock *dst) const;
|
D | tsan_clock.cc | 105 void ThreadClock::acquire(const SyncClock *src) { in acquire() 162 void ThreadClock::release(SyncClock *dst) const { in release() 217 void ThreadClock::ReleaseStore(SyncClock *dst) const { in ReleaseStore() 256 void ThreadClock::acq_rel(SyncClock *dst) { in acq_rel() 263 void ThreadClock::UpdateCurrentThread(SyncClock *dst) const { in UpdateCurrentThread() 288 bool ThreadClock::IsAlreadyAcquired(const SyncClock *src) const { in IsAlreadyAcquired() 323 SyncClock::SyncClock() in SyncClock() function in __tsan::SyncClock 331 void SyncClock::Reset() { in Reset() 336 void SyncClock::Zero() { in Zero() 344 void SyncClock::DebugDump(int(*printf)(const char *s, ...)) { in DebugDump()
|
D | tsan_sync.h | 44 SyncClock read_clock; // Used for rw mutexes only. 47 SyncClock clock;
|
D | tsan_rtl.h | 411 SyncClock sync; 661 void AcquireImpl(ThreadState *thr, uptr pc, SyncClock *c); 662 void ReleaseImpl(ThreadState *thr, uptr pc, SyncClock *c); 663 void ReleaseStoreImpl(ThreadState *thr, uptr pc, SyncClock *c); 664 void AcquireReleaseImpl(ThreadState *thr, uptr pc, SyncClock *c);
|
D | tsan_rtl_mutex.cc | 428 void AcquireImpl(ThreadState *thr, uptr pc, SyncClock *c) { in AcquireImpl() 436 void ReleaseImpl(ThreadState *thr, uptr pc, SyncClock *c) { in ReleaseImpl() 445 void ReleaseStoreImpl(ThreadState *thr, uptr pc, SyncClock *c) { in ReleaseStoreImpl() 454 void AcquireReleaseImpl(ThreadState *thr, uptr pc, SyncClock *c) { in AcquireReleaseImpl()
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_clock_test.cc | 38 SyncClock chunked; in TEST() 55 SyncClock chunked; in TEST() 73 SyncClock sync; in TEST() 81 SyncClock chunked; in TEST() 109 SyncClock chunked; in TEST() 116 SyncClock chunked; in TEST() 123 SyncClock chunked; in TEST() 129 SyncClock chunked; in TEST() 156 bool verify(const SyncClock *other) const { in verify() 241 SyncClock *sync1[kClocks]; in ClockFuzzer() [all …]
|