Lines Matching refs:epoch
390 void RestoreStack(Tid tid, const u64 epoch, VarSizeStackTrace *stk, in RestoreStack() argument
397 const int partidx = (epoch / kTracePartSize) % TraceParts(); in RestoreStack()
399 if (epoch < hdr->epoch0 || epoch >= hdr->epoch0 + kTracePartSize) in RestoreStack()
401 CHECK_EQ(RoundDown(epoch, kTracePartSize), hdr->epoch0); in RestoreStack()
402 const u64 epoch0 = RoundDown(epoch, TraceSize()); in RestoreStack()
403 const u64 eend = epoch % TraceSize(); in RestoreStack()
406 tid, (uptr)epoch, (uptr)ebegin, (uptr)eend, partidx); in RestoreStack()
460 Epoch epoch, Func f) { in TraceReplay() argument
479 ev_epoch = static_cast<Epoch>(ev->epoch); in TraceReplay()
480 if (ev_sid == sid && ev_epoch > epoch) in TraceReplay()
535 bool RestoreStack(Tid tid, EventType type, Sid sid, Epoch epoch, uptr addr, in RestoreStack() argument
542 static_cast<int>(sid), static_cast<int>(epoch), addr, size, in RestoreStack()
571 trace, last_part, last_pos, sid, epoch, in RestoreStack()
573 bool match = ev_sid == sid && ev_epoch == epoch; in RestoreStack()
900 RestoreStack(s2.tid(), s2.epoch(), &traces[1], mset2, &tags[1]); in ReportRace()
929 if (s.epoch() < tctx->epoch0 || s.epoch() > tctx->epoch1) in ReportRace()
939 if (s.epoch() <= thr->last_sleep_clock.get(s.tid())) in ReportRace()