Revision 7c7d95e5 src/eventlog/event.h

View differences:

src/eventlog/event.h
88 88

  
89 89
        virtual eventnumber_t getEventNumber() { return eventEntry->eventNumber; }
90 90
        virtual simtime_t getSimulationTime() { return eventEntry->simulationTime; }
91
        virtual long getComplexity() { return !eventEndEntry ? 1 : eventEndEntry->complexity; }
91
        virtual long getComplexity() { return !eventEndEntry ? 0 : eventEndEntry->complexity; }
92 92
        virtual int getModuleId() { return eventEntry->moduleId; }
93 93
        virtual long getMessageId() { return eventEntry->messageId; }
94 94
        virtual eventnumber_t getCauseEventNumber() { return eventEntry->causeEventNumber; }

Also available in: Unified diff