Commit Graph

641 Commits

Author SHA1 Message Date
elvez 0c02a29f8b - "Beautify" debug printout from Python policy manager
- Added support for resource policies in textual frontend

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1064 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-08 14:15:24 +00:00
tchernobog f7b440d53a -Update version numbers
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1063 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-08 13:00:59 +00:00
elvez 284490f271 - Reduced verbosity of PythonPolicyManager`s policies collection process
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1060 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-08 10:11:02 +00:00
tchernobog c1d72439b5 - Enable drawing of resources as ``3d'' cubes
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1059 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-08 09:49:30 +00:00
paolo c2819ab0ea - holt_widget: changed clipping; label too large aligned left
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1058 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-08 05:03:57 +00:00
elvez e91cea9676 - Replaced the "configure-cpu-policy" command with a "configure" command which supports either cpu or resource policies. Closes task #34
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1057 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 23:50:46 +00:00
tchernobog e4d359304c - Add exception checking to ConcreteSimulation::jump_to()
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1054 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 21:26:41 +00:00
elvez 45a72aa0a8 - Added a section to the user manual following Matteo`s suggestions
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1053 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 21:10:03 +00:00
matrevis a9c0ff01d2 - Added resource policies: FIFO and Priority.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1052 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 19:22:38 +00:00
tchernobog f7eb44bf64 - Fix ``make distcheck''
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1051 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 19:12:19 +00:00
fpaparel 8271a880b2 - added source files
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1050 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 18:05:40 +00:00
tchernobog 81c34f5ce8 - Revert bad change
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1049 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 18:00:48 +00:00
fpaparel 3e4848b999 - Added statistics skeletron, updated gradients
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1048 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 17:52:19 +00:00
tchernobog 312b67e2a4 - Re-enable clipping for HoltSchedulable
- Add missing header to Makefile.am 
- Regen POTFILE.in


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1046 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 16:56:42 +00:00
paolo 8cfa2469b2 - holt+simulation widgets: fixed errors on Simulation/History update
- gui_builder: resize and redraw showing/hidig threads on widgets



git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1043 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 15:01:29 +00:00
elvez 116400defd - Expanded user manual structure, feedback is strongly recommended
- Replaced the annoying "Application Name" in the about dialog with SGPEMv2

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1042 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 13:32:10 +00:00
tchernobog 449af3cd3e - Use 3d spheres to show processes or threads. I've temporarily
disabled clipping on the schedulables name since I'm busy on other 
tasks now, I'll fix that later this afternoon. This is an intermediate
commit.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1041 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 11:53:50 +00:00
elvez a681f92dcb - Handle exceptions in jumpto dialog, simpy copying it from SimulationController
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1040 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 11:28:08 +00:00
elvez 80f559ec7b - Hopefully fixed instant reached by jumpto dialog
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1039 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 11:02:09 +00:00
elvez 162e0f95e5 - Fix misleandingly-indented code
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1038 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 10:52:13 +00:00
tchernobog 1203372f3e - Small fix for the sake of code correctness
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1037 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 09:56:56 +00:00
tchernobog 3fe76dad2d - Fix JumpTo dialog the better I can. Now it should work.
- TODO: manage exceptions both in Simulation::jump_to()
and in JumpToDialog
- TODO: check the semantic of _target_instant, maybe its value
is 1 more than expected?


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1036 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 09:32:24 +00:00
elvez eb0a49eeec - Obviously I forgot to add a file...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1035 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 02:09:01 +00:00
elvez 4aa7bcf460 - Implemented jumpto for the gui, it has some problems, but at 4:00 AM a human being should be doing something else, perhaps sleeping
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1034 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 02:08:00 +00:00
tchernobog 0f718f2899 - Fix all includes, separating header files to be installed
from other headers. Take it while it's hot.
- To all those that lock source files: you'll burn in hell. Really.
It'll be painful, dreadful and above all *long*. *Eternally* long.
And there'll be Freddy Mercury and The Queen playing, *all the time*, 
day after boring, useless, sorrowful day. The song
will be *``Radio Ga-Ga''*, in secula secularum amen.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1033 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 00:43:00 +00:00
matrevis 6458511399 - Preferences completed.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1032 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-07 00:23:50 +00:00
tchernobog 3dbb0dbd80 - Prettify ReadyQueueWidget adding also the printout of the
current simulation instant


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1031 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 18:56:42 +00:00
tchernobog e31aa3bf9c - Add code for freeing memory also in destructor
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1030 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 18:35:51 +00:00
tchernobog 93fefe49e0 - Fix a leak in HoltWidget
- Add a for_each_in() template in sequences.tcc


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1029 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 18:31:32 +00:00
tchernobog 8e20f5499f - Simplify a little sequences' interface
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1028 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 17:39:46 +00:00
tchernobog c62734ef59 - Quick hack to the code of SimulationWidget to draw the
interval [a, b) of History (where b is the front), instead 
than (a, b].
- TODO: SimulationWidget would sincerely benefit from some
more comments in the code


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1027 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 17:09:07 +00:00
tchernobog 22dded7243 - Fix the bug about reconfiguring a policy don't resetting the
History the Hard Way(tm)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1026 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 16:33:39 +00:00
tchernobog cb1d85a4cc - Add a widget to show the ReadyQueue
- Change slightly the gradients of the SimulationWidget to make
them more aggressive. Bite, Fido! :-)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1025 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 14:51:53 +00:00
tchernobog dbfc7393ed - Fix all policies to ensure that the sort *IS* stable
- Erase the newly selected running thread from the ready queue
as per Marco feedback (or so I believe to have understood...)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1024 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 13:04:31 +00:00
tchernobog df4b1b4205 - Merge branch 0.3-r1003--scheduler-manage-preemption into trunk
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1023 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 12:29:22 +00:00
tchernobog cb5d958790 - Add the --enable-debug flag to configure.ac
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1022 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 10:14:49 +00:00
paolo 08a4cd4f63 - added menu items in View to show/hide threads and holt_widget
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1021 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 09:17:34 +00:00
paolo 7274d9759c - gui_builder: added View menu items methods
- to show/hide threads
  - to show/hide holt widget
  


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1020 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 09:12:53 +00:00
tchernobog d9d88e7032 - Put Simulation in stopped state before changing policy (doesn't
prevent a sigsegv if you try to change it while the simulation
is running)
- Use a red color to indicate a blocked thread / unallocable request
in widgets
- TODO: try the deadlock test w/ the rr (NOT the rr_priority) cpu
policy. There's something wrong with the policy...


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1019 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 08:46:06 +00:00
elvez a4d6bf2771 - Forgot to update makefile
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1018 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 00:44:56 +00:00
elvez 96190cd76d - Added wizard for testing of a bug which should now be fixed in branch 0.3-r1003--scheduler-manage-preemption
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1017 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 00:30:06 +00:00
matrevis 68d5f30f64 - Defaults to thread view.
- Enforcing resource policy the old way.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1016 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-06 00:29:11 +00:00
paolo 2b9942bbec - test-holt_widget: temporary added an extra holt_widget in container
- gui_builder: added an holt_widget in container
- Makefile.am: added holt_containr_window accordling 



git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1015 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-05 23:54:16 +00:00
paolo 51ce976d65 - fixed redrawing bug
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1014 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-05 23:49:55 +00:00
paolo 3e35ed278f - added a container for holt_widget
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1013 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-05 23:48:56 +00:00
elvez 28d066fecd - Update wizards to use the correct(?) policy: rr_priority which was 2 is now 4
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1012 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-05 22:03:26 +00:00
tchernobog e39c6c1430 - Update POTFILES list (not including .glade files because
not everybody has gettext compiled with expat support)
- Update version numbers in configure.ac


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1011 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-05 09:38:31 +00:00
paolo 0dbb265126 - added gradients to holt_widget.cc
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1007 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-04 17:01:50 +00:00
paolo c9d9766092 - Modified colors gree, yellow, blue in simulation widget
- modified test-holt_widget accordling



git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1006 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-04 14:23:42 +00:00
elvez 5242b37e13 - Temporary workaround for the "Second Bug", caused by a reset in the middle of a request editing operation which should be atomic. Though I think it should be fixed in the backend...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1003 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-09-03 00:25:22 +00:00