| Branch: | Revision:

root / include @ 0e7ff5c8

# Date Author Comment
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.

d669a8ab 16/08/2011 15:38 Simon Tenbusch

[nullduration] added
- runtimeexception when wrong priority is scheduled
- NOBARRIER-threadstate now uses UINT_MAX for barriers

200f3cf8 09/08/2011 13:23 Simon Tenbusch

[random-number-generator] cAsyncModules now take ini input for RNG seeding
- the parameter number-local-rngs specifies how many local random number generators are beeing created for the module
- the parameter local-rng-seed takes a string of whitespace-seperated seeds, that are beeing used to seed the corresponding RNG. Example:...

006e5abb 03/08/2011 16:04 Simon Tenbusch

[nullduration] added insertOrder comparison to the NOBARRIER comparison operators in the threadpool. These are necessary because during initialization, the rest of the parameters dont provide an unambigious ordering

b9e9c37a 03/08/2011 15:02 Simon Tenbusch

- 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

96cc8d6f 03/08/2011 12:31 Simon Tenbusch

[nullduration] fixed the Bugs, Daniel mailed:
-- (hoch) INSTALL behauptet NOBARRIER wäre default. in meinem checkout
ist dies nicht wahr.

-- (unwichtig) include/cthreadpool.h beginnt mit einer forward
declaration von cthreadpool - direkt vor der definition...

5668c48e 01/07/2011 13:32 Georg Kunz

[master] thread safe event ordering for EEF scheduler

d493d3f2 30/06/2011 18:20 Georg Kunz

[core] implemented thread-safe(r) FES ordering

f40e1183 29/06/2011 22:13 Georg Kunz

[core] cleanup of execution state handling within casynchmodule

95d6e993 24/06/2011 14:58 Herr Simon Tenbusch

added casts to some atomic type ops varables to avoid compiler warnings 

8c63ddf5 20/06/2011 00:07 Georg Kunz

fixed alignment of threadState_t

Replaced ineffective attribute(aligned(...)) keyword with simple yet working manual padding

6aeda35d 19/06/2011 22:56 Georg Kunz

removed superfluous SPACING variable

This variable was supposed to seperate threadstate_t but was actually never really used.

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

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

463434d4 18/05/2011 13:54 Simon Tenbusch

[eefscheduler] made valid flag of barriermessage a AO_t

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

2dd4eb12 18/05/2011 13:54 Simon Tenbusch

[eefscheduler] moved barrierMin from cSimulation to cSpinningthreadpool

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

294a274e 18/05/2011 13:53 Simon Tenbusch

[eefscheduler] solved initialization bug of t_start
- now using delivd instead of t_start (t_start was redundant to delivd)
- removed t_start from code
- some code cleanup (some debug output removed..)

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

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

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

e118c57b 08/04/2011 13:50 Simon Tenbusch

[omnet-4] code review
virtual destr.
pure virtual cLock functions
code formatting

ab8c7f8d 06/04/2011 15:48 Simon Tenbusch

added cNoLock, cleanup

93d0d4d3 06/04/2011 15:24 Simon Tenbusch

[horizon-4] added template locks, cNoLock is still missing

cLockedDefaultList and cLockedMsgHeap are now templated.
2c43d39b 06/04/2011 12:04 Simon Tenbusch

added some files, testing git commit

01873262 05/04/2011 20:02 Georg Kunz

Initial import of Horizon 4 release.