Lines Matching refs:epoch
125 u64 epoch = src->elem(tid).epoch; in acquire() local
126 if (clk_[tid].epoch < epoch) { in acquire()
127 clk_[tid].epoch = epoch; in acquire()
134 last_acquire_ = clk_[tid_].epoch; in acquire()
144 u64 epoch = src->elem(i).epoch; in acquire() local
145 if (clk_[i].epoch < epoch) { in acquire()
146 clk_[i].epoch = epoch; in acquire()
157 last_acquire_ = clk_[tid_].epoch; in acquire()
180 if (dst->elem(tid_).epoch > last_acquire_) { in release()
197 ce.epoch = max(ce.epoch, clk_[i].epoch); in release()
226 dst->elem(tid_).epoch > last_acquire_) { in ReleaseStore()
236 ce.epoch = clk_[i].epoch; in ReleaseStore()
243 ce.epoch = 0; in ReleaseStore()
265 dst->elem(tid_).epoch = clk_[tid_].epoch; in UpdateCurrentThread()
293 if (clk_[tid].epoch < src->elem(tid).epoch) in IsAlreadyAcquired()
351 DCHECK_GE(v, clk_[tid].epoch); in set()
352 clk_[tid].epoch = v; in set()
355 last_acquire_ = clk_[tid_].epoch; in set()
361 printf("%s%llu", i == 0 ? "" : ",", clk_[i].epoch); in DebugDump()
419 printf("%s%llu", i == 0 ? "" : ",", elem(i).epoch); in DebugDump()