X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1a163867e88aadbc98da14c686a06ad2920e825d..3907e83884bae6278656e9cd2cb7ef92a8f707fb:/docs/source/Plugins.rst diff --git a/docs/source/Plugins.rst b/docs/source/Plugins.rst index 073c90405c..aab0fe0968 100644 --- a/docs/source/Plugins.rst +++ b/docs/source/Plugins.rst @@ -23,6 +23,9 @@ documents some of the plugins distributed with SimGrid: - :ref:`Host Energy `: models the energy dissipation of the compute units. - :ref:`Link Energy `: models the energy dissipation of the network. - :ref:`WiFi Energy `: models the energy dissipation of wifi links. + - :ref:`Battery `: models batteries that get discharged by the energy consumption of a given host. + - :ref:`Solar Panel `: models solar panels which energy production depends on the solar irradiance. + - :ref:`Chiller `: models chillers which dissipate heat by consuming energy. You can activate these plugins with the :ref:`--cfg=plugin ` command line option, for example with ``--cfg=plugin:host_energy``. You can get the full @@ -67,9 +70,13 @@ kind of objects, please let us now. Fire that signal, invoking all callbacks. -Partial list of existing signals in s4u: +.. _s4u_API_signals: -- :cpp:func:`Actor::on_creation ` +Existing signals +================ + +- In actors: + :cpp:func:`Actor::on_creation ` :cpp:func:`Actor::on_suspend ` :cpp:func:`Actor::on_this_suspend ` :cpp:func:`Actor::on_resume ` @@ -83,45 +90,86 @@ Partial list of existing signals in s4u: :cpp:func:`Actor::on_termination ` :cpp:func:`Actor::on_this_termination ` :cpp:func:`Actor::on_destruction ` -- :cpp:func:`Comm::on_send ` - :cpp:func:`Comm::on_recv ` - :cpp:func:`Comm::on_completion ` -- :cpp:func:`CommImpl::on_start ` - :cpp:func:`CommImpl::on_completion ` -- :cpp:func:`Disk::on_creation ` - :cpp:func:`Disk::on_destruction ` - :cpp:func:`Disk::on_this_destruction ` - :cpp:func:`Disk::on_state_change ` - :cpp:func:`Disk::on_this_state_change ` -- :cpp:func:`Engine::on_platform_creation ` +- In the engine: + :cpp:func:`Engine::on_platform_creation ` :cpp:func:`Engine::on_platform_created ` :cpp:func:`Engine::on_time_advance ` :cpp:func:`Engine::on_simulation_end ` :cpp:func:`Engine::on_deadlock ` -- :cpp:func:`Exec::on_start ` - :cpp:func:`Exec::on_completion ` -- :cpp:func:`Host::on_creation ` - :cpp:func:`Host::on_destruction ` - :cpp:func:`Host::on_this_destruction ` - :cpp:func:`Host::on_state_change ` - :cpp:func:`Host::on_this_state_change ` - :cpp:func:`Host::on_speed_change ` - :cpp:func:`Host::on_this_speed_change ` -- :cpp:func:`Io::on_start ` - :cpp:func:`Io::on_completion ` -- :cpp:func:`Link::on_creation ` - :cpp:func:`Link::on_destruction ` - :cpp:func:`Link::on_state_change ` - :cpp:func:`Link::on_speed_change ` - :cpp:func:`Link::on_communication_state_change ` -- :cpp:func:`NetZone::on_creation ` - :cpp:func:`NetZone::on_seal ` -- :cpp:func:`VirtualMachine::on_start ` - :cpp:func:`VirtualMachine::on_started ` - :cpp:func:`VirtualMachine::on_suspend ` - :cpp:func:`VirtualMachine::on_resume ` - :cpp:func:`VirtualMachine::on_migration_start ` - :cpp:func:`VirtualMachine::on_migration_end ` + +- In resources: + + - :cpp:func:`Disk::on_creation ` + :cpp:func:`Disk::on_destruction ` + :cpp:func:`Disk::on_this_destruction ` + :cpp:func:`Disk::on_onoff ` + :cpp:func:`Disk::on_this_onoff ` + - :cpp:func:`Host::on_creation ` + :cpp:func:`Host::on_destruction ` + :cpp:func:`Host::on_this_destruction ` + :cpp:func:`Host::on_onoff ` + :cpp:func:`Host::on_this_onoff ` + :cpp:func:`Host::on_speed_change ` + :cpp:func:`Host::on_this_speed_change ` + :cpp:func:`Host::on_exec_state_change ` + - :cpp:func:`Link::on_creation ` + :cpp:func:`Link::on_destruction ` + :cpp:func:`Link::on_this_destruction ` + :cpp:func:`Link::on_onoff ` + :cpp:func:`Link::on_this_onoff ` + :cpp:func:`Link::on_bandwidth_change ` + :cpp:func:`Link::on_this_bandwidth_change ` + :cpp:func:`Link::on_communication_state_change ` + + - :cpp:func:`NetZone::on_creation ` + :cpp:func:`NetZone::on_seal ` + - :cpp:func:`VirtualMachine::on_start ` + :cpp:func:`VirtualMachine::on_this_start ` + :cpp:func:`VirtualMachine::on_started ` + :cpp:func:`VirtualMachine::on_this_started ` + :cpp:func:`VirtualMachine::on_suspend ` + :cpp:func:`VirtualMachine::on_this_suspend ` + :cpp:func:`VirtualMachine::on_resume ` + :cpp:func:`VirtualMachine::on_this_resume ` + :cpp:func:`VirtualMachine::on_migration_start ` + :cpp:func:`VirtualMachine::on_this_migration_start ` + :cpp:func:`VirtualMachine::on_migration_end ` + :cpp:func:`VirtualMachine::on_this_migration_end ` + +- In activities: + + - :cpp:func:`Comm::on_send ` + :cpp:func:`Comm::on_recv ` + - :cpp:func:`Comm::on_start ` + :cpp:func:`Comm::on_this_start ` + :cpp:func:`Comm::on_completion ` + :cpp:func:`Comm::on_this_completion ` + :cpp:func:`Comm::on_suspended ` + :cpp:func:`Comm::on_this_suspended ` + :cpp:func:`Comm::on_resume ` + :cpp:func:`Comm::on_this_resumed ` + :cpp:func:`Comm::on_veto ` + :cpp:func:`Comm::on_this_veto ` + - :cpp:func:`Exec::on_start ` + :cpp:func:`Exec::on_this_start ` + :cpp:func:`Exec::on_completion ` + :cpp:func:`Exec::on_this_completion ` + :cpp:func:`Exec::on_suspended ` + :cpp:func:`Exec::on_this_suspended ` + :cpp:func:`Exec::on_resume ` + :cpp:func:`Exec::on_this_resume ` + :cpp:func:`Exec::on_veto ` + :cpp:func:`Exec::on_this_veto ` + - :cpp:func:`Io::on_start ` + :cpp:func:`Io::on_this_start ` + :cpp:func:`Io::on_completion ` + :cpp:func:`Io::on_this_completion ` + :cpp:func:`Io::on_suspended ` + :cpp:func:`Io::on_this_suspended ` + :cpp:func:`Io::on_resume ` + :cpp:func:`Io::on_this_resumed ` + :cpp:func:`Io::on_veto ` + :cpp:func:`Io::on_this_veto ` Existing Plugins **************** @@ -161,8 +209,6 @@ Host Load .. doxygengroup:: plugin_host_load - - .. _plugin_filesystem: File System @@ -173,15 +219,22 @@ File System .. _plugin_battery: Battery -=========== +======= .. doxygengroup:: plugin_battery -.. _plugin_operation: +.. _plugin_solar_panel: -Operation +Solar Panel =========== -.. doxygengroup:: plugin_operation +.. doxygengroup:: plugin_solar_panel + +.. _plugin_chiller: + +Chiller +======= + +.. doxygengroup:: plugin_chiller .. LocalWords: SimGrid