Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert "Remove unused variable."
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 16 May 2013 14:56:18 +0000 (16:56 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 8 Jan 2014 10:32:29 +0000 (11:32 +0100)
This reverts commit 4fc106b8bc6fc871f9d3623010993e47c97ed73c.

src/surf/surf.c

index c3c1d93..010f13b 100644 (file)
@@ -206,6 +206,7 @@ s_surf_model_description_t surf_new_model_description[] = {
 static xbt_parmap_t surf_parmap = NULL; /* parallel map on models */
 #endif
 
+static int surf_nthreads = 1;    /* number of threads of the parmap (1 means no parallelism) */
 static double *surf_mins = NULL; /* return value of share_resources for each model */
 static int surf_min_index;       /* current index in surf_mins */
 static double min;               /* duration determined by surf_solve */