Home
last modified time | relevance | path

Searched refs:nclk (Results 1 – 4 of 4) sorted by relevance

/external/compiler-rt/lib/tsan/rtl/
Dtsan_clock.cc110 const uptr nclk = src->size_; in acquire() local
111 if (nclk == 0) { in acquire()
118 if (nclk > tid_) { in acquire()
142 nclk_ = max(nclk_, nclk); in acquire()
143 for (uptr i = 0; i < nclk; i++) { in acquire()
152 if (nclk > tid_) in acquire()
300 void SyncClock::Resize(ClockCache *c, uptr nclk) { in Resize() argument
302 if (RoundUpTo(nclk, ClockBlock::kClockCount) <= in Resize()
306 size_ = nclk; in Resize()
309 if (nclk <= ClockBlock::kClockCount) { in Resize()
[all …]
Dtsan_clock.h57 void Resize(ClockCache *c, uptr nclk);
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_clock.cpp144 const uptr nclk = src->size_; in acquire() local
145 if (nclk == 0) { in acquire()
163 if (tid_ >= nclk || src->elem(tid_).reused != reused_) { in acquire()
166 nclk_ = max(nclk_, nclk); in acquire()
178 if (nclk > tid_) in acquire()
460 void SyncClock::Resize(ClockCache *c, uptr nclk) { in Resize() argument
463 if (nclk <= capacity()) { in Resize()
465 size_ = nclk; in Resize()
493 while (nclk > capacity()) { in Resize()
499 size_ = nclk; in Resize()
Dtsan_clock.h35 void Resize(ClockCache *c, uptr nclk);