Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make gras compil with Visual C++.
[simgrid.git] / src / simdag / private.h
index a40e51c..9a90996 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. The SimGrid Team.
+ * All rights reserved.                                                     */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
 #ifndef SIMDAG_PRIVATE_H
 #define SIMDAG_PRIVATE_H
 
@@ -67,12 +73,13 @@ typedef struct SD_task {
   e_SD_task_state_t state;
   void *data;                   /* user data */
   char *name;
+  int kind;
   double amount;
   double remains;
   double start_time;
   double finish_time;
   surf_action_t surf_action;
-  unsigned short watch_points;
+  unsigned short watch_points; /* bit field xor()ed with masks */
 
   int fifo_checked;             /* used by SD_task_just_done to make sure we evaluate
                                    the task only once */