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
Reduce the amount of implicit include directories
[simgrid.git]
/
teshsuite
/
simdag
/
platforms
/
flatifier.c
diff --git
a/teshsuite/simdag/platforms/flatifier.c
b/teshsuite/simdag/platforms/flatifier.c
index
2e32367
..
3115c3f
100644
(file)
--- a/
teshsuite/simdag/platforms/flatifier.c
+++ b/
teshsuite/simdag/platforms/flatifier.c
@@
-1,4
+1,4
@@
-/* Copyright (c) 2008-201
4
. The SimGrid Team.
+/* Copyright (c) 2008-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
@@
-21,7
+21,7
@@
#include "xbt/ex.h"
#include "xbt/xbt_os_time.h"
#include "surf/surf.h"
#include "xbt/ex.h"
#include "xbt/xbt_os_time.h"
#include "surf/surf.h"
-#include "surf/surf_private.h"
+#include "s
rc/s
urf/surf_private.h"
static const char link_ctn_v2[] = "link:ctn";
static const char link_ctn_v3[] = "link_ctn";
static const char link_ctn_v2[] = "link:ctn";
static const char link_ctn_v3[] = "link_ctn";
@@
-183,7
+183,7
@@
int main(int argc, char **argv)
SD_link_get_name(links[i]),
SD_link_get_current_bandwidth(links[i]),
SD_link_get_current_latency(links[i]));
SD_link_get_name(links[i]),
SD_link_get_current_bandwidth(links[i]),
SD_link_get_current_latency(links[i]));
- if (SD_link_
get_sharing_policy(links[i]) == SD_LINK_SHARED
) {
+ if (SD_link_
is_shared(links[i])
) {
printf("/>\n");
} else {
printf(" sharing_policy=\"FATPIPE\"/>\n");
printf("/>\n");
} else {
printf(" sharing_policy=\"FATPIPE\"/>\n");