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.cc102 internal_memset(clk_, 0, sizeof(clk_)); in ThreadClock()
103 clk_[tid_].reused = reused_; in ThreadClock()
128 if (clk_[tid].epoch < epoch) { in acquire()
129 clk_[tid].epoch = epoch; in acquire()
136 last_acquire_ = clk_[tid_].epoch; in acquire()
147 if (clk_[i].epoch < epoch) { in acquire()
148 clk_[i].epoch = epoch; in acquire()
159 last_acquire_ = clk_[tid_].epoch; in acquire()
199 ce.epoch = max(ce.epoch, clk_[i].epoch); in release()
238 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