Project

General

Profile

Revision 96e929a8

ID96e929a8aca87819d829629798726a90312b8093

Added by Simon Tenbusch over 9 years ago

[eefscheduler] encapsulated getProcessingDelay-call in the getEventDuration() of cMessage
The duration of a message is invalidated in scheduleAt and sendDirect/Delayed

View differences:

include/cmessage.h
25 25
#include "cmsgpar.h"
26 26
#include "csimulation.h"
27 27

  
28

  
28 29
#ifdef ATOMIC_OPS_DEBUG
29 30
#include "catomicopsdebug.h"
30 31
#else
......
208 209
    /**
209 210
     * Returns the duration of this event.
210 211
     */
211
    inline simtime_t getEventDuration() const   {return duration;}
212
    simtime_t getEventDuration();
212 213

  
213 214
    /**
214 215
     * Sets the duration of this event.

Also available in: Unified diff