- Corrected a bug in step forward, which was incorrectly assuming
that the size of the history was the coordinate of the instant to add. - Corrected a bug in step forward, which was incorrectly assuming that all processes started at instant 0. - Added a wizard to show a bug in step forward, which thinks that the simulation is terminated while it isn't since some processes are still future. - Commented some unused code in step forward (extendThread()). - Still to extract methods from Extender and provide them to step forward in a more suitable (static) way. git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@828 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
a7fc644043
commit
d72ce96508
2 changed files with 93 additions and 7 deletions
72
src/testsuite/scheduling-wizards/wizard-gap-fail
Normal file
72
src/testsuite/scheduling-wizards/wizard-gap-fail
Normal file
|
@ -0,0 +1,72 @@
|
|||
set cpu-policy 3
|
||||
add resource
|
||||
|
||||
add resource
|
||||
forchetta
|
||||
false
|
||||
1
|
||||
0
|
||||
|
||||
add process
|
||||
Pitagorici
|
||||
0
|
||||
0
|
||||
|
||||
add thread 1
|
||||
Pitagora
|
||||
4
|
||||
0
|
||||
0
|
||||
|
||||
add request 1 1
|
||||
0
|
||||
|
||||
add subrequest 1 1 1
|
||||
0
|
||||
4
|
||||
add subrequest 1 1 1
|
||||
0
|
||||
4
|
||||
|
||||
|
||||
add request 1 1
|
||||
2
|
||||
|
||||
add subrequest 1 1 2
|
||||
0
|
||||
4
|
||||
|
||||
|
||||
add process
|
||||
Scuola di Mileto
|
||||
3
|
||||
0
|
||||
|
||||
add thread 2
|
||||
Anassimene
|
||||
6
|
||||
0
|
||||
0
|
||||
|
||||
add thread 2
|
||||
Anassimandro
|
||||
2
|
||||
0
|
||||
0
|
||||
|
||||
|
||||
add request 2 1
|
||||
0
|
||||
add subrequest 2 1 1
|
||||
0
|
||||
2
|
||||
|
||||
add request 2 2
|
||||
0
|
||||
add subrequest 2 2 1
|
||||
0
|
||||
2
|
||||
|
||||
|
||||
|
||||
run
|
Loading…
Add table
Add a link
Reference in a new issue