0c02a29f8b- "Beautify" debug printout from Python policy manager - Added support for resource policies in textual frontend
elvez
2006-09-08 14:15:24 +0000
f7b440d53a-Update version numbers
tchernobog
2006-09-08 13:00:59 +0000
284490f271- Reduced verbosity of PythonPolicyManager`s policies collection process
elvez
2006-09-08 10:11:02 +0000
c1d72439b5- Enable drawing of resources as ``3d'' cubes
tchernobog
2006-09-08 09:49:30 +0000
c2819ab0ea- holt_widget: changed clipping; label too large aligned left
paolo
2006-09-08 05:03:57 +0000
e91cea9676- Replaced the "configure-cpu-policy" command with a "configure" command which supports either cpu or resource policies. Closes task #34
elvez
2006-09-07 23:50:46 +0000
e4d359304c- Add exception checking to ConcreteSimulation::jump_to()
tchernobog
2006-09-07 21:26:41 +0000
45a72aa0a8- Added a section to the user manual following Matteo`s suggestions
elvez
2006-09-07 21:10:03 +0000
312b67e2a4- Re-enable clipping for HoltSchedulable - Add missing header to Makefile.am - Regen POTFILE.in
tchernobog
2006-09-07 16:56:42 +0000
8cfa2469b2- holt+simulation widgets: fixed errors on Simulation/History update - gui_builder: resize and redraw showing/hidig threads on widgets
paolo
2006-09-07 15:01:29 +0000
116400defd- Expanded user manual structure, feedback is strongly recommended - Replaced the annoying "Application Name" in the about dialog with SGPEMv2
elvez
2006-09-07 13:32:10 +0000
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.
tchernobog
2006-09-07 11:53:50 +0000
a681f92dcb- Handle exceptions in jumpto dialog, simpy copying it from SimulationController
elvez
2006-09-07 11:28:08 +0000
1203372f3e- Small fix for the sake of code correctness
tchernobog
2006-09-07 09:56:56 +0000
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?
tchernobog
2006-09-07 09:32:24 +0000
eb0a49eeec- Obviously I forgot to add a file...
elvez
2006-09-07 02:09:01 +0000
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
elvez
2006-09-07 02:08:00 +0000
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.
tchernobog
2006-09-07 00:43:00 +0000
3dbb0dbd80- Prettify ReadyQueueWidget adding also the printout of the current simulation instant
tchernobog
2006-09-06 18:56:42 +0000
e31aa3bf9c- Add code for freeing memory also in destructor
tchernobog
2006-09-06 18:35:51 +0000
93fefe49e0- Fix a leak in HoltWidget - Add a for_each_in() template in sequences.tcc
tchernobog
2006-09-06 18:31:32 +0000
8e20f5499f- Simplify a little sequences' interface
tchernobog
2006-09-06 17:39:46 +0000
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
tchernobog
2006-09-06 17:09:07 +0000
22dded7243- Fix the bug about reconfiguring a policy don't resetting the History the Hard Way(tm)
tchernobog
2006-09-06 16:33:39 +0000
cb1d85a4cc- Add a widget to show the ReadyQueue - Change slightly the gradients of the SimulationWidget to make them more aggressive. Bite, Fido! :-)
tchernobog
2006-09-06 14:51:53 +0000
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...)
tchernobog
2006-09-06 13:04:31 +0000
df4b1b4205- Merge branch 0.3-r1003--scheduler-manage-preemption into trunk
tchernobog
2006-09-06 12:29:22 +0000
cb5d958790- Add the --enable-debug flag to configure.ac
tchernobog
2006-09-06 10:14:49 +0000
08a4cd4f63- added menu items in View to show/hide threads and holt_widget
paolo
2006-09-06 09:17:34 +0000
7274d9759c- gui_builder: added View menu items methods - to show/hide threads - to show/hide holt widget
paolo
2006-09-06 09:12:53 +0000
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...
tchernobog
2006-09-06 08:46:06 +0000
a4d6bf2771- Forgot to update makefile
elvez
2006-09-06 00:44:56 +0000
96190cd76d- Added wizard for testing of a bug which should now be fixed in branch 0.3-r1003--scheduler-manage-preemption
elvez
2006-09-06 00:30:06 +0000
68d5f30f64- Defaults to thread view. - Enforcing resource policy the old way.
matrevis
2006-09-06 00:29:11 +0000
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
paolo
2006-09-05 23:54:16 +0000
51ce976d65- fixed redrawing bug
paolo
2006-09-05 23:49:55 +0000
3e35ed278f- added a container for holt_widget
paolo
2006-09-05 23:48:56 +0000
28d066fecd- Update wizards to use the correct(?) policy: rr_priority which was 2 is now 4
elvez
2006-09-05 22:03:26 +0000
e39c6c1430- Update POTFILES list (not including .glade files because not everybody has gettext compiled with expat support) - Update version numbers in configure.ac
tchernobog
2006-09-05 09:38:31 +0000
0dbb265126- added gradients to holt_widget.cc
paolo
2006-09-04 17:01:50 +0000
c9d9766092- Modified colors gree, yellow, blue in simulation widget - modified test-holt_widget accordling
paolo
2006-09-04 14:23:42 +0000
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...
elvez
2006-09-03 00:25:22 +0000
c10ed2f4fb- Add debug printout in SimulationWidget - Add holt_widget.{cc,hh} to main executable sources
tchernobog
2006-09-02 14:48:03 +0000
64839353bb- Re-add Giovanni in the (hopefully) right places
tchernobog
2006-09-02 14:12:55 +0000
1646d19d4a- Remove Giovanni from credits to avoid potentially sarcastic comments from the customer :-(
tchernobog
2006-09-02 13:40:23 +0000
c0a89b1bd1- Add standard file extension when needed (note: this doesn't behaves exactly like the design says, since it doesn't allow for Serializer::get_filename_extension() to return a *list* of space-separated extensions; rather, it assumes that a Serializer will return just *one* extension)
tchernobog
2006-09-02 13:35:14 +0000
40ab20a87a- Connect signals for saving and loading from file in the GUI - Implement GuiBuilder::on_file_save_activate() - TODO: manage more than one serializer - TODO: append standard extension to filename if it isn't there
tchernobog
2006-09-02 13:18:48 +0000
77c91ebfec- Fix XMLSerializer to disable notifications to HistoryObservers during the loading of a snapshot. This should fix a non-deterministic sigsegv due to asyncronous callback mappings.
tchernobog
2006-09-02 12:46:47 +0000
634499f6cf- Move environments in a more consistent location (they shan't be installed anyway). To run a test with the textual version of sgpemv2, start it with [wd : src/testsuite/scheduling-wizards]. (note: "wd" stands for "working directory")
tchernobog
2006-09-02 12:10:51 +0000
b4f8c61695- Ported wizards, altough still missing the way to copy them into the install destination directory - Yaling in preferences treeviews - Changing policy now resets history - Corrected some detail in speed control widget
matrevis
2006-09-02 11:47:06 +0000
f003779a04- Split SimulationController from GuiBuilder and put it in its own file
tchernobog
2006-09-02 11:31:01 +0000
5d837552c8- Add check menu item to select simulation mode - Connect also simulation menu items in SimulationController - Fix typo in SchedulablesTreeWidget
tchernobog
2006-09-02 11:12:23 +0000
3df5d38041- Make preferences window bigger. TODO: yalign = ALIGN_TOP into the left column of the treeviews
tchernobog
2006-09-02 09:38:16 +0000
30c09a58ba- Added an optimization to save cache when reached the end of the simulation This optimization causes some trouble when using jumpto, but nothing terrible.
matrevis
2006-09-02 02:07:19 +0000
47d4fe65b4- Corrected get_front() issues. - Widget tests are now working properly.
matrevis
2006-09-02 01:56:00 +0000
4b3cce6bea- Correctly manage file extensions in load/save dialogs. I couldn`t find a way to automagically add the extension on file save. It`s just too much of an hassle to do it by hand, isn`t it?
elvez
2006-09-02 01:01:37 +0000
f617c51a87- Fixed bug causing crash on adding a resource after simulation is terminated. A workaround was used, it was caused by Simulation::get_front() returning a wrong value. - Other minor improvements to the ResourceWidget
elvez
2006-09-02 00:20:24 +0000
6f2c9c3252- Use smart_ptr for tooltips into schedulable_state_widget. Closes task #3.
tchernobog
2006-09-01 17:20:17 +0000
ad774067e1- Add lottery and plain round robin cpu policies. I didn't test them extensively, mind you. Closes task #14. - Added documentation for each cpu policy - Manage extra-exception into PythonCPUPolicy (when the .py file doesn't contain a similarly named class) - Update exception output in GuiBuilder to make it slightly more descriptive
tchernobog
2006-09-01 17:03:34 +0000
ff95a5364d- Allow the user to select the (CPU|Resource)Policy from the GUI
tchernobog
2006-09-01 13:17:53 +0000
689f1c108d- Udpdated test-holt-widget for resource policy support
matrevis
2006-09-01 12:49:16 +0000
17b54f1bfe- Add policy description to configure_policy_dialog
tchernobog
2006-09-01 12:08:26 +0000
0912042b50- Added preferences load/save feature. altough till lacking exception handling if no sgpem.cfg file is present, segmentation fault therefore no loading is ever done by now.
matrevis
2006-09-01 00:58:12 +0000
58cf50b500- Added visualization of resources queue to resourceswidget. Task #28
elvez
2006-09-01 00:23:39 +0000
eb9546a63c- Disabled all operations on schedulables from the GUI while the simulation is not stopped. Task #25
elvez
2006-08-31 22:17:16 +0000
ba9b28b0c8- Correctly set release time for candidate threads that try to run and immediately block - Use modulo to check the end of the time slice instead than a simple equality
tchernobog
2006-08-31 18:57:09 +0000
5b7130a9a0- Fix book-keeping of thread data fields - (temp) Add debug printout into text simulation of a thread acquiring time and release time. Will be removed just after scheduler is fixed.
tchernobog
2006-08-31 18:16:11 +0000
1bc33d37ec- Fix one of two Scheduler's bugs. Now the state of the running thread is update separately by the state of future or blocked ones at the beginning of step_forward() (since else it didn't influence the state of threads coming before it in the global thread list)
tchernobog
2006-08-31 17:15:41 +0000
0c3ecf3bcb- Removed a level from the schedulables tree. Added details about subrequests
elvez
2006-08-31 00:34:49 +0000
323ab51210- Fix sigsegv when editing an entity
tchernobog
2006-08-31 00:31:14 +0000
c797bf97ae- Improved resource policy power - added tests for gap management - added test for resource policy
matrevis
2006-08-30 23:59:10 +0000
4f3e8f61df- Enable CPUPolicy configuration in the GUI through clicking on the toolbar button about the "Scheduling policy". The same is true also for a ResourcePolicy. These two features will also need a related entry under the "Edit" menu. Closes task #15.
tchernobog
2006-08-30 23:37:11 +0000
9af2008050- Allow compilation of test which didn`t need massive updates (those from m0.1). Task #19
elvez
2006-08-30 22:35:45 +0000
26755fd876- Small fix to let the application work using ResourcePoliciesGatekeeper
matrevis
2006-08-30 21:09:47 +0000
685a6d84f0- All dialogs created by SchedulablesTreeWidget are now inializated only when needed
elvez
2006-08-30 15:54:47 +0000
a4bde96a7b- Manage exceptions into SimulationController.
tchernobog
2006-08-30 15:53:26 +0000
58838fabbc- More extensible exception checking in text_simulation - Started doing initialization of glade dialogs in a lazy manner
elvez
2006-08-30 15:31:25 +0000
9d541e2751- Added markup for threads, improved support for translation of hard-coded strings
elvez
2006-08-30 00:14:44 +0000
cb59a30e06- Added support for Return key-as-OK for dialogs - Scrollbars on the SchedulablesTreeWidget only show up if needed - Forced minimum height on the list view inside add-request dialog
elvez
2006-08-29 22:24:02 +0000
1f466f80d5- Add newlines at the end of file to make new versions of m4 happy
tchernobog
2006-08-29 09:12:54 +0000
35451bddbd- Hopefully a more complete fix. - TODO: write a test for this both in the case of the parent process having a "hole" between threads and being a) terminated, and b) blocked
tchernobog
2006-08-28 22:59:51 +0000
0520169288- I forgot to include a pair of files.
matrevis
2006-08-28 22:45:02 +0000
f3dc9b77df- Added a bit of resource policy mamagement. Still far from being usefu.
matrevis
2006-08-28 22:40:08 +0000
980d9b410a- Fix a minor bug in scheduler that didn't ended the simulation if there was a 'hole' between threads of the same process. The fix isn't the most elegant thing in the universe, but it's simple and it'll do.
tchernobog
2006-08-28 22:29:56 +0000
8b7a4ed569- Fixed bug in serialization which caused threads to be saved with a "lats-for" field of 0 - Added some comments to the string_to code
elvez
2006-08-28 22:29:43 +0000
2497aa3bc6- Bullet-proofed the code in string_utils. Not tested for booleans, but don`t complain for the last test, it`s necessary, trust me.
elvez
2006-08-28 22:01:18 +0000
73c66c12d3- Re-enable loading of saved files
tchernobog
2006-08-28 21:48:55 +0000
9e61332a12- Removed CPUPolicyManager::init(), it was deprecated
elvez
2006-08-28 21:40:02 +0000
c30a3674f2- Use deletor for deleting all policies from the manager
tchernobog
2006-08-28 21:01:32 +0000