Lines Matching defs:epoch
352 // or up to the provided epoch/sid (whichever is earlier)
356 Epoch epoch, Func f) {
376 ev_epoch = static_cast<Epoch>(ev->epoch);
377 if (ev_sid == sid && ev_epoch > epoch)
429 // by epoch/addr/size/typ and restores and returns tid, stack, mutex set
432 bool RestoreStack(EventType type, Sid sid, Epoch epoch, uptr addr, uptr size,
435 // This function restores stack trace and mutex set for the thread/epoch.
437 // trace part, and then replaying the trace till the given epoch.
439 static_cast<int>(sid), static_cast<int>(epoch), addr, size,
448 DPrintf2(" journal: epoch=%d tid=%d\n",
449 static_cast<int>(slot->journal[i].epoch), slot->journal[i].tid);
450 if (i == slot->journal.Size() - 1 || slot->journal[i + 1].epoch > epoch) {
487 trace, last_part, last_pos, sid, epoch,
496 bool match = ev_sid == sid && ev_epoch == epoch;
586 // TraceReplay already extracted sid/epoch from it,
705 return last.sid() == old.sid() && last.epoch() == old.epoch();
771 if (!RestoreStack(EventType::kAccessExt, s[1].sid(), s[1].epoch(), addr1,
819 s[1].epoch() <= thr->last_sleep_clock.Get(s[1].sid()))