Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'energy-pstate' of https://github.com/Takishipp/simgrid into Takishipp...
[simgrid.git] / examples / msg / README.doc
index 47f3e9d..00c8f32 100644 (file)
@@ -50,6 +50,12 @@ documentation, but it should remain readable directly.
     You can specify a start time and a kill time in the deployment
     file. See all *_d.xml files in this directory.
 
+  - <b>Using Pstates on a host</b>
+    @ref examples/msg/energy-pstate/energy-pstate.c\n
+    Show how define a set of pstates for a host and how the current
+    pstate can be accessed/changed with @ref MSG_get_host_current_power_peak and @ref  MSG_set_host_pstate.
+    See also the platform XML file for have a details on how to declare the CPU capacity for each pstate.
+
 @section msg_ex_tracing Tracing and visualization features
 
 Tracing can be activated by various configuration options which
@@ -90,8 +96,8 @@ options to see the task executions:
     displayed as arrows in a Gantt-chart visualization. Recommanded
     options to that extend:
     @verbatim -cfg=tracing:yes --cfg=tracing/msg/process:yes
-    @endverbatim     
-
+    @endverbatim 
+    
 TODO: These tracing examples should be integrated in the examples to
 not duplicate the C files. A full command line to see the result in
 the right tool (vite/FrameSoc) should be given along with some