From: Frederic Suter Date: Mon, 18 Nov 2019 16:35:39 +0000 (+0100) Subject: power is speed X-Git-Tag: v3.25~388 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/f843921db769f36e1622f3925d4ea8b82ccf1d40 power is speed --- diff --git a/doc/doxygen/inside_extending.doc b/doc/doxygen/inside_extending.doc index b47395fb27..f0f02b6110 100644 --- a/doc/doxygen/inside_extending.doc +++ b/doc/doxygen/inside_extending.doc @@ -55,7 +55,7 @@ and add an entry in the corresponding array in surf_interface.cpp ~~~~ s_surf_model_description_t surf_cpu_model_description[] = { {"Cas01", - "Simplistic CPU model (time=size/power).", + "Simplistic CPU model (time=size/speed).", surf_cpu_model_init_Cas01}, {"Plop", "The new plop CPU model.", diff --git a/docs/source/Configuring_SimGrid.rst b/docs/source/Configuring_SimGrid.rst index a1498c9ec7..db03b0a01c 100644 --- a/docs/source/Configuring_SimGrid.rst +++ b/docs/source/Configuring_SimGrid.rst @@ -225,7 +225,7 @@ models for all existing resources. - ``cpu/model``: specify the used CPU model. We have only one model for now: - - **Cas01:** Simplistic CPU model (time=size/power) + - **Cas01:** Simplistic CPU model (time=size/speed) - ``host/model``: The host concept is the aggregation of a CPU with a network card. Three models exists, but actually, only 2 of them are diff --git a/src/surf/surf_interface.cpp b/src/surf/surf_interface.cpp index 0b2ea3caca..3f3dc80b45 100644 --- a/src/surf/surf_interface.cpp +++ b/src/surf/surf_interface.cpp @@ -92,7 +92,7 @@ void surf_network_model_init_NS3() { #endif const std::vector surf_cpu_model_description = { - {"Cas01", "Simplistic CPU model (time=size/power).", &surf_cpu_model_init_Cas01}, + {"Cas01", "Simplistic CPU model (time=size/speed).", &surf_cpu_model_init_Cas01}, }; const std::vector surf_host_model_description = {