Revision 842775ab src/eventlog/event.h

View differences:

src/eventlog/event.h
43 43
        file_offset_t beginOffset; // file offset where the event starts
44 44
        file_offset_t endOffset; // file offset where the event ends (ie. begin of next event)
45 45
        EventEntry *eventEntry; // the event log entry that corresponds to the actual event ("E" line)
46
        EventEndEntry* eventEndEntry; //the event end entry that stores the measured complexity
47 46
        ModuleCreatedEntry *moduleCreatedEntry;
48 47
        int numEventLogMessages;
49 48
        int numBeginSendEntries;
......
59 58
        IMessageDependencyList *consequences; // message sends in this event
60 59

  
61 60
    public:
62

  
63 61
        Event(EventLog *eventLog);
64 62
        virtual ~Event();
65 63

  
......
78 76
        virtual file_offset_t getEndOffset() { return endOffset; }
79 77

  
80 78
        virtual EventEntry *getEventEntry() { return eventEntry; }
81
        virtual EventEndEntry *getEventEndEntry() { return eventEndEntry; }
82 79
        virtual int getNumEventLogEntries() { return eventLogEntries.size(); }
83 80
        virtual EventLogEntry *getEventLogEntry(int index) { return eventLogEntries[index]; }
84 81

  
......
88 85

  
89 86
        virtual eventnumber_t getEventNumber() { return eventEntry->eventNumber; }
90 87
        virtual simtime_t getSimulationTime() { return eventEntry->simulationTime; }
91
        virtual long getComplexity() { return !eventEndEntry ? 0 : eventEndEntry->complexity; }
92 88
        virtual int getModuleId() { return eventEntry->moduleId; }
93 89
        virtual long getMessageId() { return eventEntry->messageId; }
94 90
        virtual eventnumber_t getCauseEventNumber() { return eventEntry->causeEventNumber; }
......
100 96
        virtual Event *getPreviousEvent();
101 97
        virtual Event *getNextEvent();
102 98

  
103
        virtual Event *getPreviousEventRealTime();
104
        virtual Event *getNextEventRealTime();
105

  
106 99
        virtual Event *getCauseEvent();
107 100
        virtual BeginSendEntry *getCauseBeginSendEntry();
108 101
        virtual MessageSendDependency *getCause();
......
111 104

  
112 105
        virtual void print(FILE *file = stdout, bool outputEventLogMessages = true);
113 106

  
114
        virtual long getEarliestProcessingTime();
115
        virtual long getEarliestStartTime();
116

  
117

  
118 107
    protected:
119 108
        void clearInternalState();
120 109
        void deleteConsequences();

Also available in: Unified diff