| Branch: | Revision:

root / src @ d669a8ab

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

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.

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...

fd9e238e 08/07/2011 21:31 Georg Kunz

[master] cosmetic changes

012a5b2a 01/07/2011 15:00 Georg Kunz

[master] use locally stored simtime during messenge sending

We now store the local time of the module in a member variable before
actually handling the event. During sending, we use this variable to
avoid calls to the thread local storage to retrieve the time.

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

[master] thread safe event ordering for EEF scheduler

342aee1b 01/07/2011 01:13 Georg Kunz

[core] updated documentation

3e97003d 01/07/2011 01:08 Georg Kunz

[core] fixed comparison operator of thread-safe cmessageheap

- Corrected inverted comparisons of newly added message properties
- re-introduced formaly removed use of insertOrder. This is still needed
to sort messages which are being inserted during initialization

eefbed01 30/06/2011 23:28 Georg Kunz

[core] added missing updates of message meta data

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 

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

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

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

c6940301 18/05/2011 13:54 Simon Tenbusch

[eefscheduler] further code cleanup of doOneEvent

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

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..)

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

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

e26d3d25 12/04/2011 14:49 Georg Kunz

Added .gitignore files

6797046b 11/04/2011 22:57 Georg Kunz

Autobuild script for nightly builds

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.