Searched refs:kTracePartSize (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_trace.h23 const int kTracePartSize = 1 << kTracePartSizeBits; member in namespace:__tsan
24 const int kTraceParts = 2 * 1024 * 1024 / kTracePartSize;
25 const int kTraceSize = kTracePartSize * kTraceParts;
H A Dtsan_rtl_report.cpp386 const int partidx = (epoch / kTracePartSize) % TraceParts();
388 if (epoch < hdr->epoch0 || epoch >= hdr->epoch0 + kTracePartSize)
390 CHECK_EQ(RoundDown(epoch, kTracePartSize), hdr->epoch0);
393 const u64 ebegin = RoundDown(eend, kTracePartSize);
H A Dtsan_rtl.cpp579 unsigned trace = (thr->fast_state.epoch() / kTracePartSize) % TraceParts();
602 return TraceSize() / kTracePartSize;
H A Dtsan_rtl_thread.cpp93 epoch0 = RoundUp(epoch1 + 1, kTracePartSize);
H A Dtsan_rtl.h862 if (UNLIKELY((pos % kTracePartSize) == 0)) {

Completed in 174 milliseconds