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
Implement functions SD_get_amount, SD_get_remaining_amount, SD_watch and SD_unwatch
[simgrid.git]
/
src
/
simdag
/
private.h
diff --git
a/src/simdag/private.h
b/src/simdag/private.h
index
e115ebd
..
209556f
100644
(file)
--- a/
src/simdag/private.h
+++ b/
src/simdag/private.h
@@
-4,6
+4,7
@@
#include "xbt/dict.h"
#include "simdag/simdag.h"
#include "simdag/datatypes.h"
#include "xbt/dict.h"
#include "simdag/simdag.h"
#include "simdag/datatypes.h"
+#include "surf/surf.h"
#define CHECK_INIT_DONE() xbt_assert0(sd_global != NULL, "SD_init not called yet")
#define CHECK_INIT_DONE() xbt_assert0(sd_global != NULL, "SD_init not called yet")
@@
-31,9
+32,12
@@
typedef struct SD_workstation_data {
typedef struct SD_task_data {
char *name;
SD_task_state_t state;
typedef struct SD_task_data {
char *name;
SD_task_state_t state;
- /*double amount;
- double remaining_amount;*/
- /* TODO: dependencies + watch */
+ double amount;
+ surf_action_t surf_action;
+ unsigned short watch_points;
+
+ /* double remaining_amount;*/
+ /* TODO: dependencies */
} s_SD_task_data_t;
/* Private functions */
} s_SD_task_data_t;
/* Private functions */