diff SSR.h @ 72:d20b105981b7

make idle VPs optional
author Nina Engelhardt <nengel@mailbox.tu-berlin.de>
date Wed, 28 Mar 2012 18:02:38 +0200
parents 8882e795016d
children f20b4d9d3086
line diff
     1.1 --- a/SSR.h	Wed Mar 21 11:12:08 2012 +0100
     1.2 +++ b/SSR.h	Wed Mar 28 18:02:38 2012 +0200
     1.3 @@ -18,6 +18,8 @@
     1.4  //===========================================================================
     1.5  #define NUM_STRUCS_IN_SEM_ENV 1000
     1.6  
     1.7 +//#define IDLE_SLAVES
     1.8 +
     1.9     //This is hardware dependent -- it's the number of cycles of scheduling
    1.10     // overhead -- if a work unit is fewer than this, it is better being
    1.11     // combined sequentially with other work
    1.12 @@ -126,8 +128,10 @@
    1.13     #ifdef HOLISTIC__TURN_ON_PERF_COUNTERS
    1.14     ListOfArrays* counterList[NUM_CORES];
    1.15     #endif
    1.16 +   #ifdef IDLE_SLAVES
    1.17     SlaveVP* idlePr[NUM_CORES][NUM_ANIM_SLOTS];
    1.18     int shutdownInitiated;
    1.19 +   #endif
    1.20   }
    1.21  SSRSemEnv;
    1.22