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
Fix warnings + refactor
[simgrid.git]
/
examples
/
msg
/
plugin-hostload
/
plugin-hostload.c
diff --git
a/examples/msg/plugin-hostload/plugin-hostload.c
b/examples/msg/plugin-hostload/plugin-hostload.c
index
717c54b
..
e458d27
100644
(file)
--- a/
examples/msg/plugin-hostload/plugin-hostload.c
+++ b/
examples/msg/plugin-hostload/plugin-hostload.c
@@
-27,7
+27,7
@@
static int execute_load_test(int argc, char* argv[])
// Run a task
start = MSG_get_clock();
msg_task_t task1 = MSG_task_create("t1", 100E6, 0, NULL);
// Run a task
start = MSG_get_clock();
msg_task_t task1 = MSG_task_create("t1", 100E6, 0, NULL);
- XBT_INFO("Run a task of %.0E flops", MSG_task_get_flops_amount(task1));
+ XBT_INFO("Run a task of %.0E flops", MSG_task_get_
initial_
flops_amount(task1));
MSG_task_execute(task1);
MSG_task_destroy(task1);
MSG_task_execute(task1);
MSG_task_destroy(task1);
@@
-44,7
+44,7
@@
static int execute_load_test(int argc, char* argv[])
// Run a second task
start = MSG_get_clock();
task1 = MSG_task_create("t2", 100E6, 0, NULL);
// Run a second task
start = MSG_get_clock();
task1 = MSG_task_create("t2", 100E6, 0, NULL);
- XBT_INFO("Run a task of %.0E flops", MSG_task_get_flops_amount(task1));
+ XBT_INFO("Run a task of %.0E flops", MSG_task_get_
initial_
flops_amount(task1));
MSG_task_execute(task1);
MSG_task_destroy(task1);
XBT_INFO("Done working on my task; this took %.2fs; current peak speed: %.0E flop/s; number of flops computed so "
MSG_task_execute(task1);
MSG_task_destroy(task1);
XBT_INFO("Done working on my task; this took %.2fs; current peak speed: %.0E flop/s; number of flops computed so "