From 1c7dbc7e7255bc670c53414593e9fbdf5b366c1d Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Tue, 22 May 2018 22:53:53 +0200 Subject: [PATCH] tiny doc improvements --- include/simgrid/kernel/resource/Resource.hpp | 4 +++- src/surf/cpu_interface.hpp | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/simgrid/kernel/resource/Resource.hpp b/include/simgrid/kernel/resource/Resource.hpp index d6ac71fd2c..105e9d381c 100644 --- a/include/simgrid/kernel/resource/Resource.hpp +++ b/include/simgrid/kernel/resource/Resource.hpp @@ -50,7 +50,9 @@ public: /** @brief Check if the current Resource is used (if it currently serves an action) */ virtual bool is_used() = 0; - /** @brief returns the current load (in flops per second, byte per second or similar) */ + /** @brief returns the current load due to activities (in flops per second, byte per second or similar) + * + * The load due to external usages modeled by trace files is ignored.*/ virtual double get_load(); /** @brief Check if the current Resource is active */ diff --git a/src/surf/cpu_interface.hpp b/src/surf/cpu_interface.hpp index 5cb44640c4..2b0b3ec36e 100644 --- a/src/surf/cpu_interface.hpp +++ b/src/surf/cpu_interface.hpp @@ -107,7 +107,7 @@ public: /** @brief Get a forecast of the speed (in flops/s) if the load were as provided. * - * The provided load encompasses both the application's activities and the external load that come from a trace. + * The provided load should encompasses both the application's activities and the external load that come from a trace. * * Use a load of 1.0 to compute the amount of flops that the Cpu would deliver with one CPU-bound task. * If you use a load of 0, this function will return 0: when nobody is using the Cpu, it delivers nothing. -- 2.20.1