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
Update copyright headers.
[simgrid.git]
/
examples
/
msg
/
trace-masterworker
/
trace-masterworker.c
diff --git
a/examples/msg/trace-masterworker/trace-masterworker.c
b/examples/msg/trace-masterworker/trace-masterworker.c
index
56cb7a3
..
8d69fb5
100644
(file)
--- a/
examples/msg/trace-masterworker/trace-masterworker.c
+++ b/
examples/msg/trace-masterworker/trace-masterworker.c
@@
-1,4
+1,4
@@
-/* Copyright (c) 2010-201
6
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2010-201
8
. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-54,8
+54,7
@@
static int worker(int argc, char *argv[])
break;
}
// adding the value returned by MSG_task_get_compute_duration(task) to the variable "task_computation"
break;
}
// adding the value returned by MSG_task_get_compute_duration(task) to the variable "task_computation"
- TRACE_host_variable_add(MSG_host_get_name(MSG_host_self()), "task_computation",
- MSG_task_get_initial_flops_amount(task));
+ TRACE_host_variable_add(MSG_host_get_name(MSG_host_self()), "task_computation", MSG_task_get_flops_amount(task));
MSG_task_execute(task);
MSG_task_destroy(task);
task = NULL;
MSG_task_execute(task);
MSG_task_destroy(task);
task = NULL;