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 SimDag task structure.
[simgrid.git]
/
include
/
simdag
/
datatypes.h
diff --git
a/include/simdag/datatypes.h
b/include/simdag/datatypes.h
index
f7d3299
..
894e214
100644
(file)
--- a/
include/simdag/datatypes.h
+++ b/
include/simdag/datatypes.h
@@
-7,11
+7,6
@@
typedef struct SD_link_data *SD_link_data_t;
typedef struct SD_link {
SD_link_data_t sd_data; /* SD internal data */
void *data; /* user data */
typedef struct SD_link {
SD_link_data_t sd_data; /* SD internal data */
void *data; /* user data */
-
- /*char *name;*/
- /*double capacity;*/
- /*double current_bandwidth;
- double current_latency;*/
} s_SD_link_t, *SD_link_t;
/* Workstation */
} s_SD_link_t, *SD_link_t;
/* Workstation */
@@
-31,13
+26,11
@@
typedef enum {
} SD_task_state_t;
/* Task */
} SD_task_state_t;
/* Task */
+typedef struct SD_task_data *SD_task_data_t;
+
typedef struct SD_task {
typedef struct SD_task {
- void *data;
- char *name;
- /*double amount;
- double remaining_amount;*/
- SD_task_state_t state;
- /* TODO: dependencies + watch */
+ SD_task_data_t sd_data; /* SD internal data */
+ void *data; /* user data */
} s_SD_task_t, *SD_task_t;
#endif
} s_SD_task_t, *SD_task_t;
#endif