Home
last modified time | relevance | path

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

/external/compiler-rt/lib/tsan/rtl/
Dtsan_clock.cc302 if (RoundUpTo(nclk, ClockBlock::kClockCount) <= in Resize()
303 RoundUpTo(size_, ClockBlock::kClockCount)) { in Resize()
309 if (nclk <= ClockBlock::kClockCount) { in Resize()
326 } else if (size_ <= ClockBlock::kClockCount) { in Resize()
336 for (uptr i = RoundUpTo(size_, ClockBlock::kClockCount); in Resize()
337 i < nclk; i += ClockBlock::kClockCount) { in Resize()
339 ClockBlock *cb = ctx->clock_alloc.Map(idx); in Resize()
341 CHECK_EQ(tab_->table[i/ClockBlock::kClockCount], 0); in Resize()
342 tab_->table[i/ClockBlock::kClockCount] = idx; in Resize()
389 } else if (size_ <= ClockBlock::kClockCount) { in Reset()
[all …]
Dtsan_clock.h26 struct ClockBlock { struct
36 ClockBlock() { in ClockBlock() argument
40 typedef DenseSlabAlloc<ClockBlock, 1<<16, 1<<10> ClockAlloc;
73 ClockBlock *tab_;