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
Platform generation : add promotion functions
[simgrid.git]
/
src
/
surf
/
platf_generator_private.h
diff --git
a/src/surf/platf_generator_private.h
b/src/surf/platf_generator_private.h
index 80a3390891b7ce192586d7363df6536883a7b3d4..0f3ab92e3bb04115cd382ac1a8d889154d7662cd 100644
(file)
--- a/
src/surf/platf_generator_private.h
+++ b/
src/surf/platf_generator_private.h
@@
-1,13
+1,18
@@
#ifndef SG_PLATF_GEN_PRIVATE_H
#define SG_PLATF_GEN_PRIVATE_H
#ifndef SG_PLATF_GEN_PRIVATE_H
#define SG_PLATF_GEN_PRIVATE_H
-#include <xbt/graph.h>
+#include "xbt/graph.h"
+#include "simgrid/platf.h"
-typedef struct {
+typedef struct
s_context_node_t
{
unsigned long id;
double x, y;
int degree;
e_platf_node_kind kind;
unsigned long id;
double x, y;
int degree;
e_platf_node_kind kind;
+ union {
+ s_sg_platf_host_cbarg_t host_parameters;
+ s_sg_platf_cluster_cbarg_t cluster_parameters;
+ };
} s_context_node_t, *context_node_t;
void platf_graph_init(unsigned long node_count);
} s_context_node_t, *context_node_t;
void platf_graph_init(unsigned long node_count);