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.cc101 internal_memset(clk_, 0, sizeof(clk_)); in ThreadClock()
102 clk_[tid_].reused = reused_; in ThreadClock()
107 DCHECK(src->clk_.Size() <= kMaxTid); in acquire()
111 const uptr nclk = src->clk_.Size(); in acquire()
121 if (src->clk_[tid_].reused == reused_) { in acquire()
126 u64 epoch = src->clk_[tid].epoch; in acquire()
127 if (clk_[tid].epoch < epoch) { in acquire()
128 clk_[tid].epoch = epoch; in acquire()
135 last_acquire_ = clk_[tid_].epoch; in acquire()
145 u64 epoch = src->clk_[i].epoch; in acquire()
[all …]
Dtsan_clock.h32 return clk_.Size(); in size()
36 DCHECK_LT(tid, clk_.Size()); in get()
37 return clk_[tid].epoch; in get()
50 mutable Vector<ClockElem> clk_; variable
61 return clk_[tid].epoch; in get()
67 DCHECK_GE(v, clk_[tid_].epoch); in set()
68 clk_[tid_].epoch = v; in set()
72 clk_[tid_].epoch++; in tick()
93 ClockElem clk_[kMaxTidInClock]; member