Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add the MSG function controlling CPU affinity
[simgrid.git] / src / msg / msg_private.h
index 109ebbc..611a026 100644 (file)
@@ -33,6 +33,7 @@ typedef struct simdata_task {
   double priority;
   double bound; /* Capping for CPU resource */
   double rate;  /* Capping for network resource */
+  unsigned long affinity_mask; /* CPU affinity */
   int isused;  /* Indicates whether the task is used in SIMIX currently */
   int host_nb;                  /* ==0 if sequential task; parallel task if not */
   /*******  Parallel Tasks Only !!!! *******/