Home
last modified time | relevance | path

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

/external/compiler-rt/lib/tsan/rtl/
Dtsan_trace.h24 const int kTracePartSize = 1 << kTracePartSizeBits; variable
25 const int kTraceParts = 4 * 1024 * 1024 / kTracePartSize;
26 const int kTraceSize = kTracePartSize * kTraceParts;
Dtsan_rtl_thread.cc86 epoch0 = RoundUp(epoch1 + 1, kTracePartSize); in OnStarted()
112 const uptr trace = (epoch0 / kTracePartSize) % TraceParts(); in OnStarted()
Dtsan_rtl.cc462 unsigned trace = (thr->fast_state.epoch() / kTracePartSize) % TraceParts(); in TraceSwitch()
485 return TraceSize() / kTracePartSize; in TraceParts()
Dtsan_rtl_report.cc405 const int partidx = (epoch / kTracePartSize) % TraceParts(); in RestoreStack()
411 const u64 ebegin = RoundDown(eend, kTracePartSize); in RestoreStack()
Dtsan_rtl.h703 if (UNLIKELY((pos % kTracePartSize) == 0)) { in TraceAddEvent()