A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add MSG_host_on and MSG_host_off
[simgrid.git]
/
src
/
msg
/
msg_task.c
diff --git
a/src/msg/msg_task.c
b/src/msg/msg_task.c
index
03f5810
..
d95b180
100644
(file)
--- a/
src/msg/msg_task.c
+++ b/
src/msg/msg_task.c
@@
-445,6
+445,7
@@
void MSG_task_set_priority(msg_task_t task, double priority)
* \brief Changes the maximum CPU utilization of a computation task.
* Unit is flops/s.
*
* \brief Changes the maximum CPU utilization of a computation task.
* Unit is flops/s.
*
+ * For VMs, there is a pitfall. Please see MSG_vm_set_bound().
*/
void MSG_task_set_bound(msg_task_t task, double bound)
{
*/
void MSG_task_set_bound(msg_task_t task, double bound)
{
@@
-452,7
+453,7
@@
void MSG_task_set_bound(msg_task_t task, double bound)
xbt_assert(task->simdata, "Invalid parameter");
if (bound == 0)
xbt_assert(task->simdata, "Invalid parameter");
if (bound == 0)
- XBT_INFO("bound == 0 means no capping");
+ XBT_INFO("bound == 0 means no capping
(i.e., unlimited).
");
task->simdata->bound = bound;
if (task->simdata->compute)
task->simdata->bound = bound;
if (task->simdata->compute)