Lines Matching refs:reused
95 ThreadClock::ThreadClock(unsigned tid, unsigned reused) in ThreadClock() argument
97 , reused_(reused + 1) { // 0 has special meaning in ThreadClock()
103 clk_[tid_].reused = reused_; in ThreadClock()
122 if (src->elem(tid_).reused == reused_) { in acquire()
155 src->elem(tid_).reused = reused_; in acquire()
200 ce.reused = 0; in release()
206 dst->elem(i).reused = 0; in release()
214 dst->elem(tid_).reused = reused_; in release()
239 ce.reused = 0; in ReleaseStore()
246 ce.reused = 0; in ReleaseStore()
255 dst->elem(tid_).reused = reused_; in ReleaseStore()
283 dst->elem(i).reused = 0; in UpdateCurrentThread()
290 if (src->elem(tid_).reused != reused_) in IsAlreadyAcquired()
366 printf("%s%llu", i == 0 ? "" : ",", clk_[i].reused); in DebugDump()
424 printf("%s%llu", i == 0 ? "" : ",", elem(i).reused); in DebugDump()