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
reindent
[simgrid.git]
/
examples
/
msg
/
tracing
/
ms.c
diff --git
a/examples/msg/tracing/ms.c
b/examples/msg/tracing/ms.c
index
aed734e
..
18d7b11
100644
(file)
--- a/
examples/msg/tracing/ms.c
+++ b/
examples/msg/tracing/ms.c
@@
-1,4
+1,4
@@
-/* Copyright (c) 2010-201
4
. The SimGrid Team.
+/* Copyright (c) 2010-201
5
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-20,7
+20,7
@@
*/
#include <stdio.h>
*/
#include <stdio.h>
-#include "
msg
/msg.h"
+#include "
simgrid
/msg.h"
#include "xbt/sysdep.h" /* calloc, printf */
/* Create a log channel to have nice outputs. */
#include "xbt/sysdep.h" /* calloc, printf */
/* Create a log channel to have nice outputs. */
@@
-88,7
+88,7
@@
int slave(int argc, char *argv[])
//to the variable "task_computation"
TRACE_host_variable_add(MSG_host_get_name(MSG_host_self()),
"task_computation",
//to the variable "task_computation"
TRACE_host_variable_add(MSG_host_get_name(MSG_host_self()),
"task_computation",
- MSG_task_get_
compute_duration
(task));
+ 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;