Home
last modified time | relevance | path

Searched refs:clk_ (Results 1 – 2 of 2) sorted by relevance

/external/compiler-rt/lib/tsan/rtl/
Dtsan_clock.cc100 internal_memset(clk_, 0, sizeof(clk_)); in ThreadClock()
101 clk_[tid_].reused = reused_; in ThreadClock()
126 if (clk_[tid].epoch < epoch) { in acquire()
127 clk_[tid].epoch = epoch; in acquire()
134 last_acquire_ = clk_[tid_].epoch; in acquire()
145 if (clk_[i].epoch < epoch) { in acquire()
146 clk_[i].epoch = epoch; in acquire()
157 last_acquire_ = clk_[tid_].epoch; in acquire()
197 ce.epoch = max(ce.epoch, clk_[i].epoch); in release()
236 ce.epoch = clk_[i].epoch; in ReleaseStore()
[all …]
Dtsan_clock.h89 return clk_[tid].epoch; in get()
95 DCHECK_GE(v, clk_[tid_].epoch); in set()
96 clk_[tid_].epoch = v; in set()
100 clk_[tid_].epoch++; in tick()
121 ClockElem clk_[kMaxTidInClock]; member