tchernobog
5dddd9b488
- I don't remember exactly what I did.
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@434 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 10:39:40 +00:00
tchernobog
6446c205ea
- Fix trivial conflict between revisions
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@433 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 10:07:47 +00:00
tchernobog
edd8cc3e95
- Print arrival time instead of priority for Schedulables
...
at this stage of development
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@432 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 09:53:23 +00:00
tchernobog
1395347b1a
- Fix Schedulable::get_name() in SWIG export interface
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@431 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 09:02:32 +00:00
tchernobog
dc84bfd16c
- Return numeric_limits<int>::max() from get_time_slice()
...
of PythonPolicy when the Python user-implemented one returns
a negative value
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@430 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 08:28:18 +00:00
jinx
924896ca0b
Added some comments to the source code
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@422 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 01:33:06 +00:00
johnny
47c184ac3f
- "Commenting The Source(tm)" 02-2006 - The best summer camp of the world - Second part
...
- Reorganized the .cc files to match the .hh methods order.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@421 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 01:24:21 +00:00
paolo
02e69f9214
Documented history.hh, policy.hh, policy_manager.hh, slice.hh - ps
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@419 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-24 01:06:49 +00:00
tchernobog
3a38a2d3a6
- Add comment about a thing to fix ;-)
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@418 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-23 22:54:27 +00:00
tchernobog
c956c12dba
- Update user manual to list required software and tools to
...
build / run sgpemv2
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@417 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-23 22:54:01 +00:00
tchernobog
c91a86a9ca
- Move compiled test to the ``testsuite'' subdir
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@415 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-23 22:02:59 +00:00
tchernobog
dfe1593b44
- Tadaaaan! Fixed it! Now:
...
- SWIG generate interface doesn't do a mess with namespaces anymore
- Improved PythonPolicy to be acceptably faster
- FCFS implemented, sir!
- FIXME : the qsort implementation doesn't seem right
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@413 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-23 21:50:43 +00:00
elvez
876fb85614
- Fixed a couple of problems in doc
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@412 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-23 20:59:56 +00:00
elvez
24edbf1c43
- Commented file
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@411 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-23 19:32:09 +00:00
tchernobog
da5fc9d195
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@410 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-23 19:08:30 +00:00
tchernobog
cd9b1b1892
- Fix typos
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@409 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-23 19:02:21 +00:00
tchernobog
e2211907f5
- Add documentation for classes:
...
- (C++) PythonPolicyManager
- (Python) Policy, ScriptAdapter, fcfs
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@408 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-23 18:55:14 +00:00
elvez
9091035003
- Commented file
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@407 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-23 18:09:33 +00:00
elvez
34fba3517a
- Commented file
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@406 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-23 18:01:00 +00:00
johnny
1d326590ee
- "Commenting The Source(tm)" 02-2006 - The best summer camp of the world - First part
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@405 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-23 17:59:02 +00:00
elvez
cf01cd6611
- Commented file
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@404 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-23 17:19:20 +00:00
tchernobog
c996eca3ba
- Add yet-not-functional code for managing the "return" keypress
...
in the input entrybox
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@398 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-23 12:50:19 +00:00
tchernobog
1a1c9b943a
- Temporarily solve synchronization problem. A more correct
...
and complete solution is of course using a mutex.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@397 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-23 12:12:43 +00:00
tchernobog
ec5d813a7c
- Move SWIG interface file to the correct subdir
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@396 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-23 11:36:13 +00:00
tchernobog
8d6b7c500e
- Fix test to initialize a set of processes and run a simulation
...
- The test needs to be linked to Gtkmm, even if it doesn't use it.
This is wrong and a coding anomaly that will need to be resolved.
- Add debug code to fcfs.py. Please remove it when it'll be okay
- Calling dir(SchedulableList.get_item_at(x)) from Python shows
a worringly empty list!
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@395 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-23 11:29:25 +00:00
tchernobog
a2a492b5d5
- Previous segmentation fault was due to a faulty call (wrong parameters
...
to ScriptAdapter.__wrap_sort_queue()). Now prints an error and check
for retval before Py_DECREF'ing it.
- Fix(?) qsort implementation in Policy
- SWIG doesn't understand "uint". Change into more verbose (but surely
standard) unsigned int
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@394 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-23 10:12:27 +00:00
tchernobog
075e12d14d
- Add note that building with --disable-shared at the moment doesn't work
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@393 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-23 09:26:27 +00:00
fpaparel
8eeeaae3f5
- hemm... updated also the header!!
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@391 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-22 23:21:12 +00:00
fpaparel
b7f3086286
- implemented swap in schedulable_list.cc
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@390 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-22 23:19:51 +00:00
tchernobog
73a3e72118
- Implement first draft of quicksort in Python
...
- Extend test to have a set of processes (now lacks
significative output)
- Extend FCFS policy to do something useful
- FIXME : segfaults on sortQueue()
- FIXME : needs implementation for SchedulableQueue.swap()
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@389 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-22 22:57:32 +00:00
fpaparel
7110279f53
- The grafical interpreter now works
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@388 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-22 22:45:06 +00:00
tchernobog
47451bf78d
- Add swap() method signature to SchedulableQueue
...
- Export swap() to SWIG
- Add sort function (just its documentation, actually, implementation will
follow) to Policy.py
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@385 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-22 21:35:26 +00:00
tchernobog
eecb9f109f
- "Yeehaw! It's working! I can't believe it! And they said that an imitation
...
diamond wasn't good enough..." :-)
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@384 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-22 20:36:33 +00:00
tchernobog
8f655f2f69
- Finish implementing async setup for Python policies' access
...
- Correct method names for the Python policy (design problem?)
- Compiles, but can't run it on this machine. I'll test it later
(and I expect quite a lot of SIGSEGVs).
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@382 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-22 15:16:08 +00:00
tchernobog
882a6acf5e
- Don't include full paths
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@381 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-22 14:27:14 +00:00
tchernobog
4e65ca6cd0
- Super mega hacked implementation of python_policy_manager.
...
Haven't tried running it.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@380 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-22 12:39:30 +00:00
tchernobog
e4f6b8d719
- Guess what: correcting a typo that prevented compiling
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@379 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-22 10:36:26 +00:00
jinx
3bd8cad316
sgpem2dman.texi: added the anomaly classes in the subsection about anomaly resolution.
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@377 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-22 00:09:27 +00:00
tchernobog
712e14f558
- Add first undocumented (and quite useless) test for libpyloader.
...
It doesn't work properly for no apparent reason.
- Add SWIG interface generation for Scheduler
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@375 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-21 22:57:14 +00:00
tchernobog
cc26da0b59
- Typo (surprising, isn't it?)
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@373 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-21 20:35:13 +00:00
tchernobog
3d3dd0b762
- Update makefile to build ScriptAdapter.py
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@372 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-21 15:18:36 +00:00
tchernobog
9471870adb
- Added initial interface for the PythonScript adapter
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@371 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-21 15:18:13 +00:00
tchernobog
633416f340
- Add preliminary code for Python policy management
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@370 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-21 12:20:14 +00:00
tchernobog
2e1a699b65
- This is a save point (everything compiles again) ;-)
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@369 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-21 11:30:19 +00:00
fpaparel
ef659927c4
- Die tortoise-svn die
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@368 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-21 11:29:05 +00:00
fpaparel
0de370f4d3
- Add dummy policy left out of previous commit
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@367 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-21 11:15:57 +00:00
fpaparel
4482b98df7
- fixed a number of bugs
...
- added dummy_policy written in C++
- the interpreter is now finished (hopefully)
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@366 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-21 11:09:55 +00:00
tchernobog
ea70e2f092
- Typos
...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@365 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-21 10:31:01 +00:00
tchernobog
7d58c965ff
- Add initial layout for further builtin policies (needs
...
to be expanded / fixed)
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@363 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-21 07:39:39 +00:00
tchernobog
b788ebab4b
- Fix Python/C++ module compilation when compiler supports
...
the -fvisibility=hidden option
- Update Makefile consequentially
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@361 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-02-20 21:26:08 +00:00