Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/
H A Dtsan_trace.h24 const int kTracePartSize = 1 << kTracePartSizeBits; variable
25 const int kTraceParts = 2 * 1024 * 1024 / kTracePartSize;
26 const int kTraceSize = kTracePartSize * kTraceParts;
H A Dtsan_rtl_report.cc386 const int partidx = (epoch / kTracePartSize) % TraceParts(); in RestoreStack()
388 if (epoch < hdr->epoch0 || epoch >= hdr->epoch0 + kTracePartSize) in RestoreStack()
390 CHECK_EQ(RoundDown(epoch, kTracePartSize), hdr->epoch0); in RestoreStack()
393 const u64 ebegin = RoundDown(eend, kTracePartSize); in RestoreStack()
H A Dtsan_rtl.cc562 unsigned trace = (thr->fast_state.epoch() / kTracePartSize) % TraceParts(); in TraceSwitch()
585 return TraceSize() / kTracePartSize; in TraceParts()
H A Dtsan_rtl_thread.cc94 epoch0 = RoundUp(epoch1 + 1, kTracePartSize); in OnStarted()
H A Dtsan_rtl.h852 if (UNLIKELY((pos % kTracePartSize) == 0)) { in TraceAddEvent()