Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
TESH: msg to s4u - act 1
[simgrid.git] / include / simdag / datatypes.h
index 8b7b4dd..571d1aa 100644 (file)
@@ -1,40 +1,2 @@
-#ifndef SIMDAG_DATATYPES_H
-#define SIMDAG_DATATYPES_H
-
-/* Link */
-typedef struct SG_link {
-  void *data;
-  char *name;
-  double capacity;
-  double current_bandwidth;
-  double current_latency;
-} s_SG_link_t, *SG_link_t;
-
-/* Workstation */
-typedef struct SG_workstation {
-  void *data;
-  char *name;
-  double power;
-  double available_power;
-  /* TODO: route */
-} s_SG_workstation_t, *SG_workstation_t;
-
-/* Task state */
-typedef enum {
-  SG_SCHEDULED,
-  SG_RUNNING,
-  SG_DONE,
-  SG_FAILED
-} SG_task_state_t;
-
-/* Task */
-typedef struct SG_task {
-  void *data;
-  char *name;
-  double amount;
-  double remaining_amount;
-  SG_task_state_t state;
-  /* TODO: dependencies + watch */
-} s_SG_task_t, *SG_task_t;
-
-#endif
+#warning You should now include directly simgrid/simdag.h instead of simdag/datatypes.h
+#include "simgrid/simdag.h"