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
  421   } else if (size_ > blocks_ * ClockBlock::kClockCount) {
  424     uptr top = size_ - blocks_ * ClockBlock::kClockCount;
  425     CHECK_LT(top, ClockBlock::kClockCount);
  515   const uptr block = tid / ClockBlock::kClockCount;
  517   tid %= ClockBlock::kClockCount;
  531   uptr top = ClockBlock::kClockCount - RoundUpTo(blocks_ + 1, ratio) / ratio;
  532   return blocks_ * ClockBlock::kClockCount + top;
  583     end_ = pos_ + min(parent_->size_ - block_ * ClockBlock::kClockCount,
  584         ClockBlock::kClockCount);
  588       parent_->size_ > parent_->blocks_ * ClockBlock::kClockCount) {
  591     end_ = pos_ + min(parent_->size_ - block_ * ClockBlock::kClockCount,
  592         ClockBlock::kClockCount);
projects/compiler-rt/lib/tsan/rtl/tsan_defs.h
   57     ClockElem clock[kClockCount];
   68 const unsigned kMaxTid = (1 << kTidBits) - ClockBlock::kClockCount;