Lines Matching refs:prev
206 const ContextSwitchRecord &prev = *prev_record; in RecoverExecutionsFromConsecutiveRecords() local
207 if (prev.tsc >= current_record.tsc) in RecoverExecutionsFromConsecutiveRecords()
212 prev.tsc, current_record.tsc)); in RecoverExecutionsFromConsecutiveRecords()
214 if (current_record.IsIn() && prev.IsIn()) { in RecoverExecutionsFromConsecutiveRecords()
218 cpu_id, prev.tid, prev.pid, prev.tsc, current_record.tsc - 1)); in RecoverExecutionsFromConsecutiveRecords()
219 } else if (current_record.IsOut() && prev.IsOut()) { in RecoverExecutionsFromConsecutiveRecords()
223 cpu_id, current_record.tid, current_record.pid, prev.tsc + 1, in RecoverExecutionsFromConsecutiveRecords()
225 } else if (current_record.IsOut() && prev.IsIn()) { in RecoverExecutionsFromConsecutiveRecords()
226 if (current_record.pid == prev.pid && current_record.tid == prev.tid) { in RecoverExecutionsFromConsecutiveRecords()
229 cpu_id, current_record.tid, current_record.pid, prev.tsc, in RecoverExecutionsFromConsecutiveRecords()
235 cpu_id, prev.tid, prev.pid, prev.tsc, current_record.tsc - 1)); in RecoverExecutionsFromConsecutiveRecords()
237 cpu_id, current_record.tid, current_record.pid, prev.tsc + 1, in RecoverExecutionsFromConsecutiveRecords()