Statistics
| Branch: | Revision:

root / src / sim @ 08285dff

# Date Author Comment
08285dff 16/04/2013 15:11 Mirko Stoffers

Modified random number genaration

Instead of deriving from cNumberGenerator, models now use a distinct RNG
in the global RNG array. This ignores the user specific mapping, but
introduces a mapping that creates <num-rngs> RNGs per module and maps
them accordingly....

cbd2c699 03/04/2013 11:09 Mirko Stoffers

Renamed duration -> eventDuration

Problem: We had a variable cMessage::duration for Horizon and a
variable cPacket::duration from OMNeT++ itself while cPacket inherits
from cMessage. This might lead to the wrong variable being accessed
by packets.

Solution: Renamed the Horizon variable cMessage::duration in...

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

68da4f12 05/06/2012 01:20 Georg Kunz

[master] enable endSimulation() from threaded context

b781545c 30/05/2012 09:44 Georg Kunz

[master] streamlined templated implementation of locks

2f5cc443 16/11/2011 21:13 Simon Tenbusch

[sequencechart] implemented functionality to
- write event duration into eventlog
- measure event complexity
- write event complexity into eventlog
- parse complexity in eventlog interface from ievent java JNI

- added EventEndEntry into eventlog data format

528e3919 15/10/2011 00:47 Georg Kunz

Merge branch 'nullduration'

b6c9a58c 15/10/2011 00:42 Georg Kunz

[build-system] make Horizon 4 build on Ubuntu 11.10

4f536d0b 13/10/2011 15:47 Simon Tenbusch

[horizon-4] fixed segfault that appeared when record-eventlog=true was set

6525f767 28/09/2011 16:13 Simon Tenbusch

[omnet4] fixed bug in smaller operator of spinningthreadpool

f857128b 25/08/2011 13:08 Simon Tenbusch

[random number generator] made cAsyncmodule inherit from cNumbergenerator as well.

97ccebed 25/08/2011 11:50 Simon Tenbusch

[nullduration] cosmetic changes

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

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

[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

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

[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

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.