Statistics
| Branch: | Revision:

root / src / sim / cscheduler.cc @ e1750c09

History | View | Annotate | Download (11.2 KB)

# Date Author Comment
e1750c09 18/04/2013 13:15 Mirko Stoffers

Fixed bug with not-removed events

Problem: With Horizon the semantics of cScheduler::getNextEvent() and
cSimulator::doOneEvent() where changed. Without Horiozn, getNextEvent()
peeked the event in the FES, and doOneEvent() removed it. This was
changed for Horizon, but the cParsimScheduler::getNextEvent() function...

fbe00e73 07/03/2013 15:57 Mirko Stoffers

Moved cAsyncModule functionality to cSimpleModule, dropped cAsyncModule

We eliminated the need for special cAsyncModule objects
since it is more convenient to just stick to cSimpleModule in the
model implementation and active Horizon through omnetpp.ini switches....

0e7ff5c8 24/08/2011 13:30 Simon Tenbusch

[nullduration] moved asyncModuleLocks to earlier position and added getProcessingDelay return value that makes the event get handled sequentially:
We have to lock before getProcessingDelay is called, and must only be released, once the corresponding event has been handled. This is because in the meantime, other events could alter the module and therefore change the outcome of getProcessingDelay nondeterministically....

77cb9420 24/08/2011 12:28 Simon Tenbusch

[numGen] overloaded method calls in casyncmodule to make numGen-> referenciations unnecessary
[nullduration] the barriermessage is now scheduled BEFORE the children of an event

e1d5f2c9 17/08/2011 15:08 Simon Tenbusch

[nullduration] bugfix: correcty insert barriermsgs with their parentID and parentArrivalTime being that of the corresponding event.

64aa7fee 03/08/2011 16:15 Simon Tenbusch

[nullduration] BARRIER: the additional barrier information is now always set in the scheduler, although this might not be necessary everytime.

b9e9c37a 03/08/2011 15:02 Simon Tenbusch

[nullduration]
- implemented rest of nullduration algorithm for both barrier based approach as well as NOBARRIER.
-- barrier based approach: the barriers are now placed according to ordering
-- nobarrier: the comparison operators have been extended

- hopefully fixed cache line size alignment

fd9e238e 08/07/2011 21:31 Georg Kunz

[master] cosmetic changes

c87b95b0 20/05/2011 13:20 Simon Tenbusch

[eefscheduler] split getNextEvent of EEFScheduler in two methods: updateIES and getFirstEvent
- updateIES: Fills up the Independent Event Set
- getFirstEvent: returns the next event according to EEFScheduling Policy

bfb08604 18/05/2011 16:16 Simon Tenbusch

[eefscheduler] added changes from codereview (minor stuff) and moved scheduler call again from cSimulation to Tkenv and Cmdenv respectively

46ea5b3d 18/05/2011 13:54 Simon Tenbusch

[eefscheduler] code cleanup

af9583d7 18/05/2011 13:54 Simon Tenbusch

[eefscheduler] the eefscheduler may not be used in the unthreaded case

94cf1056 18/05/2011 13:54 Simon Tenbusch

[eefscheduler] bugfix with barriermsgs and sequential scheduling:
- the processingDuration was not set correctly everytime
- also now eefscheduler is deleting outdated barriers -> IES may get larger

96e929a8 18/05/2011 13:54 Simon Tenbusch

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

6b81f4fa 18/05/2011 13:54 Simon Tenbusch

[eefscheduler] added eefscheduler support for NOBARRIER, fixed bug with duration:
- one has to make sure that getProcessingDelay() is only called exactly once per simulation of an event. Otherwise timings with random processing delays get mixed up.

aeae20a1 18/05/2011 13:54 Simon Tenbusch

[eefscheduler] made cSequentialScheduler work again with NOBARRIER

a3be1d55 18/05/2011 13:54 Simon Tenbusch

[eefscheduler] moved barrierwaiting to scheduler
- now the scheduler always returns a non barrier event

9194dd48 18/05/2011 13:53 Simon Tenbusch

- added some debug output
- fixed taskheap: made operators static, otherwise the wrong operators would be used
- fixed t_start assignment in scheduleAt

0ca3674c 18/05/2011 13:53 Simon Tenbusch

[eefscheduler] some more code cleanup

d617def6 18/05/2011 13:53 Simon Tenbusch

[eefscheduler] fixed deadlock,
problem was with 0-duration events handled differently in csimulation and cscheduler:
eefscheduler now checks mayParallelize

2501f650 18/05/2011 13:53 Simon Tenbusch

[eefscheduler]
made simulation working with cSequentialScheduler (barriercreation is noch fully moved to cScheduler)

63440abe 18/05/2011 13:53 Simon Tenbusch

[eefscheduler] fixed correct advancing of simtime
moved time advancing from getnextmodule to dooneevent

83ba5375 18/05/2011 13:53 Simon Tenbusch

[eefscheduler] restructured doOneEvent
-doOneEvent now has no parameter
-getNextEvent now removes elements from the FES/IES
-still getting deadlock when IES runs empty

a3d116e3 18/05/2011 13:45 Simon Tenbusch

working on EEFScheduler:
added EEFScheduler

52072b74 18/05/2011 13:45 Simon Tenbusch

[eefscheduler] made EEFScheduler work with NOBARRIER disabled

01873262 05/04/2011 20:02 Georg Kunz

Initial import of Horizon 4 release.