Lines Matching refs:reused
93 ThreadClock::ThreadClock(unsigned tid, unsigned reused) in ThreadClock() argument
95 , reused_(reused + 1) { // 0 has special meaning in ThreadClock()
101 clk_[tid_].reused = reused_; in ThreadClock()
120 if (src->elem(tid_).reused == reused_) { in acquire()
153 src->elem(tid_).reused = reused_; in acquire()
198 ce.reused = 0; in release()
204 dst->elem(i).reused = 0; in release()
212 dst->elem(tid_).reused = reused_; in release()
237 ce.reused = 0; in ReleaseStore()
244 ce.reused = 0; in ReleaseStore()
253 dst->elem(tid_).reused = reused_; in ReleaseStore()
281 dst->elem(i).reused = 0; in UpdateCurrentThread()
288 if (src->elem(tid_).reused != reused_) in IsAlreadyAcquired()
364 printf("%s%llu", i == 0 ? "" : ",", clk_[i].reused); in DebugDump()
422 printf("%s%llu", i == 0 ? "" : ",", elem(i).reused); in DebugDump()