Searched refs:SyncClock (Results 1 – 6 of 6) sorted by relevance
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_clock.h | 44 class SyncClock { 46 SyncClock(); 47 ~SyncClock(); 107 void acquire(ClockCache *c, const SyncClock *src); 108 void release(ClockCache *c, SyncClock *dst) const; 109 void acq_rel(ClockCache *c, SyncClock *dst); 110 void ReleaseStore(ClockCache *c, SyncClock *dst) const; 116 static const uptr kDirtyTids = SyncClock::kDirtyTids; 123 bool IsAlreadyAcquired(const SyncClock *src) const; 124 void UpdateCurrentThread(SyncClock *dst) const;
|
D | tsan_clock.cc | 104 void ThreadClock::acquire(ClockCache *c, const SyncClock *src) { in acquire() 161 void ThreadClock::release(ClockCache *c, SyncClock *dst) const { in release() 215 void ThreadClock::ReleaseStore(ClockCache *c, SyncClock *dst) const { in ReleaseStore() 256 void ThreadClock::acq_rel(ClockCache *c, SyncClock *dst) { in acq_rel() 263 void ThreadClock::UpdateCurrentThread(SyncClock *dst) const { in UpdateCurrentThread() 287 bool ThreadClock::IsAlreadyAcquired(const SyncClock *src) const { in IsAlreadyAcquired() 300 void SyncClock::Resize(ClockCache *c, uptr nclk) { in Resize() 369 SyncClock::SyncClock() in SyncClock() function in __tsan::SyncClock 379 SyncClock::~SyncClock() { in ~SyncClock() 386 void SyncClock::Reset(ClockCache *c) { in Reset() [all …]
|
D | tsan_sync.h | 44 SyncClock read_clock; // Used for rw mutexes only. 47 SyncClock clock;
|
D | tsan_rtl.h | 433 SyncClock sync; 708 void AcquireImpl(ThreadState *thr, uptr pc, SyncClock *c); 709 void ReleaseImpl(ThreadState *thr, uptr pc, SyncClock *c); 710 void ReleaseStoreImpl(ThreadState *thr, uptr pc, SyncClock *c); 711 void AcquireReleaseImpl(ThreadState *thr, uptr pc, SyncClock *c);
|
D | tsan_rtl_mutex.cc | 425 void AcquireImpl(ThreadState *thr, uptr pc, SyncClock *c) { in AcquireImpl() 433 void ReleaseImpl(ThreadState *thr, uptr pc, SyncClock *c) { in ReleaseImpl() 442 void ReleaseStoreImpl(ThreadState *thr, uptr pc, SyncClock *c) { in ReleaseStoreImpl() 451 void AcquireReleaseImpl(ThreadState *thr, uptr pc, SyncClock *c) { in AcquireReleaseImpl()
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_clock_test.cc | 41 SyncClock chunked; in TEST() 59 SyncClock chunked; in TEST() 78 SyncClock sync; in TEST() 88 SyncClock chunked; in TEST() 118 SyncClock chunked; in TEST() 126 SyncClock chunked; in TEST() 134 SyncClock chunked; in TEST() 141 SyncClock chunked; in TEST() 155 SyncClock sync; in TEST() 170 SyncClock sync; in TEST() [all …]
|