Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'simgrid-fork-plugin-photovoltaic'
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Wed, 31 May 2023 12:23:45 +0000 (14:23 +0200)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Wed, 31 May 2023 12:23:45 +0000 (14:23 +0200)
1  2 
ChangeLog
MANIFEST.in
docs/source/Plugins.rst
examples/cpp/CMakeLists.txt

diff --cc ChangeLog
+++ b/ChangeLog
@@@ -22,23 -20,22 +22,25 @@@ S4U
     possible.
   - Allow to set a concurrency limit on disks and hosts, as it was already the case for links.
   - Rename Link::get_usage() to Link::get_load() for consistency with Host::
 + - Every signal now come with a static version that is invoked for every object of that class,
 +   and an instance version that is invoked for this specific object only. For example, 
 +   s4u::Actor::on_suspend_cb() adds a callback that is invoked for the suspend of any actor while
 +   s4u::Actor::on_this_suspend_cb() adds a callback for this specific actor only.
 + - Activity::on_suspended_cb() is renamed to Activity::on_suspend_cb(), and fired right before the suspend.
 + - Activity::on_resumed_cb() is renamed to Activity::on_resume_cb(), and fired right before the resume.
 + - Resource::on_state_change_cb() is renamed to Resource::on_onoff_cb() to distinguish from the
 +   Activity::on_state_change_cb() that is related to the activity state machine, not on/off.
 + - Activity signals (veto, suspend, resume, completion) are now specialized by activity class.
 +   That is, callbacks registered in Exec::on_suspend_cb will not be fired for Comms nor Ios.
 +
 +New S4U plugins:
 + - Operation: They are designed to represent workflows, i.e, graphs of repeatable Activities.
 +   See the examples under examples/cpp/operation-* and the documentation in the Plugins page.
 + - Battery: Enable the management of batteries on hosts.
 +   See the examples under examples/cpp/battery-* and the documentation in the Plugins page.
++ - Photovoltaic: Enable the management of photovoltaic panels on hosts.
++   See the examples under examples/cpp/photovoltaic-* and the documentation in the Plugins page.
  
 -New plugin: Operation
 - - Operations are designed to represent workflows, i.e, graphs of repeatable Activities.
 - - Documentation: https://simgrid.frama.io/simgrid/Plugins.html#operation
 - - Examples: examples/cpp/operation-*
 -
 -New plugin: Battery
 - - Enable the management of batteries on hosts.
 - - Documentation: https://simgrid.frama.io/simgrid/Plugins.html#battery
 - - Examples: examples/cpp/battery-*
 -
 -New plugin: Photovoltaic
 - - Enable the management of photovoltaic panels on hosts.
 - - Documentation: https://simgrid.frama.io/simgrid/Plugins.html#photovoltaic
 - - Examples: examples/cpp/photovoltaic-*
 -  
  Kernel:
   - optimize an internal datastructure (use a set instead of a list for ongoing activities),
     leading to a potentially big performance gain, in particular with many detached comms.
diff --cc MANIFEST.in
Simple merge
Simple merge
@@@ -168,7 -168,8 +168,8 @@@ foreach (example activity-testany activ
                   mc-bugged1 mc-bugged1-liveness mc-bugged2 mc-bugged2-liveness mc-centralized-mutex mc-electric-fence mc-failing-assert
                   network-ns3 network-ns3-wifi network-wifi
                   io-async io-priority io-degradation io-file-system io-file-remote io-disk-raw io-dependent
 -                 operation-simple operation-variable-load operation-switch-host
 +                 operation-io operation-simple operation-variable-load operation-switch-host
+                  photovoltaic-simple
                   platform-comm-serialize platform-failures platform-profile platform-properties
                   plugin-host-load plugin-link-load plugin-prodcons
                   replay-comm replay-io