reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/tsan/rtl/tsan_clock.cpp
  115   nclk_ = tid_ + 1;
  154   if (tid_ >= nclk || src->elem(tid_).reused != reused_) {
  154   if (tid_ >= nclk || src->elem(tid_).reused != reused_) {
  169     if (nclk > tid_)
  170       src->elem(tid_).reused = reused_;
  175     last_acquire_ = clk_[tid_];
  199   if (dst->elem(tid_).epoch > last_acquire_) {
  201     if (dst->release_store_tid_ != tid_ ||
  232     dst->elem(tid_).reused = reused_;
  255     dst->dirty_[0].tid = tid_;
  256     dst->dirty_[0].epoch = clk_[tid_];
  257     dst->release_store_tid_ = tid_;
  260     dst->elem(tid_).reused = reused_;
  270   if (dst->release_store_tid_ == tid_ &&
  272       dst->elem(tid_).epoch > last_acquire_) {
  291   dst->release_store_tid_ = tid_;
  294   dst->elem(tid_).reused = reused_;
  323     if (tid == tid_ || tid == kInvalidTid) {
  325       dirty->tid = tid_;
  326       dirty->epoch = clk_[tid_];
  334   dst->elem(tid_).epoch = clk_[tid_];
  334   dst->elem(tid_).epoch = clk_[tid_];
  342   if (src->elem(tid_).reused != reused_)
  362   last_acquire_ = clk_[tid_];
  370   printf("] tid=%u/%u last_acq=%llu", tid_, reused_, last_acquire_);
projects/compiler-rt/lib/tsan/rtl/tsan_clock.h
  177   clk_[tid_] = v;
  181   clk_[tid_]++;