Revision 842775ab src/eventlog/eventlog.cc

View differences:

src/eventlog/eventlog.cc
55 55
    endOffsetToEventMap.clear();
56 56
    consequenceLookaheadLimits.clear();
57 57
    previousEventNumberToMessageEntriesMap.clear();
58
    legacyTrace = true;
59 58
}
60 59

  
61 60
void EventLog::deleteAllocatedObjects()
......
284 283
    return lastEvent;
285 284
}
286 285

  
287
Event *EventLog::getFirstEventRealTime()
288
{
289
    Assert(firstEventRealTime != NULL);
290
    return firstEventRealTime;
291
}
292

  
293
Event *EventLog::getLastEventRealTime()
294
{
295
    Assert(lastEventRealTime != NULL);
296
    return lastEventRealTime;
297
}
298

  
299 286
Event *EventLog::getEventForEventNumber(eventnumber_t eventNumber, MatchKind matchKind, bool useCacheOnly)
300 287
{
301 288
    Assert(eventNumber >= 0);
......
424 411
void EventLog::parseEvent(Event *event, file_offset_t beginOffset)
425 412
{
426 413
    event->parse(reader, beginOffset);
427
    if(event->getEventEndEntry() != NULL)
428
        legacyTrace = false;
429

  
430 414
    cacheEntry(event->getEventNumber(), event->getSimulationTime(), event->getBeginOffset(), event->getEndOffset());
431 415
    cacheEventLogEntries(event);
432 416
    numParsedEvents++;

Also available in: Unified diff