Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VSs_impls > VSs__MC_shared_impl
comparison VSs.h @ 32:552192f088a2
Merge
| author | Sean Halle <seanhalle@yahoo.com> |
|---|---|
| date | Mon, 04 Mar 2013 04:16:12 -0800 |
| parents | feea343d202f |
| children | 227db52cbd93 |
comparison
equal
deleted
inserted
replaced
| 20:ddd8fa5fc02e | 21:7cb408d23023 |
|---|---|
| 22 //#define EXTERNAL_SCHEDULER | 22 //#define EXTERNAL_SCHEDULER |
| 23 //#define SIMULATE_EXTERNAL_SCHEDULER | 23 //#define SIMULATE_EXTERNAL_SCHEDULER |
| 24 | 24 |
| 25 //=========================================================================== | 25 //=========================================================================== |
| 26 #define NUM_STRUCS_IN_SEM_ENV 1000 | 26 #define NUM_STRUCS_IN_SEM_ENV 1000 |
| 27 | |
| 28 #define MAX_TASKS_NUM 256 | |
| 27 | 29 |
| 28 //This is hardware dependent -- it's the number of cycles of scheduling | 30 //This is hardware dependent -- it's the number of cycles of scheduling |
| 29 // overhead -- if a work unit is fewer than this, it is better being | 31 // overhead -- if a work unit is fewer than this, it is better being |
| 30 // combined sequentially with other work | 32 // combined sequentially with other work |
| 31 //This value depends on both VMS overhead and VSs's plugin. At some point | 33 //This value depends on both VMS overhead and VSs's plugin. At some point |
| 225 VSsCritical criticalSection[NUM_STRUCS_IN_SEM_ENV]; | 227 VSsCritical criticalSection[NUM_STRUCS_IN_SEM_ENV]; |
| 226 | 228 |
| 227 bool32 *coreIsDone; | 229 bool32 *coreIsDone; |
| 228 int32 numCoresDone; | 230 int32 numCoresDone; |
| 229 | 231 |
| 232 int numInFlightTasks; | |
| 233 PrivQueueStruc *deferredSubmitsQ; | |
| 234 int numDeferred; | |
| 235 | |
| 230 #ifdef HOLISTIC__TURN_ON_OBSERVE_UCC | 236 #ifdef HOLISTIC__TURN_ON_OBSERVE_UCC |
| 231 ListOfArrays* unitList; | 237 ListOfArrays* unitList; |
| 232 ListOfArrays* ctlDependenciesList; | 238 ListOfArrays* ctlDependenciesList; |
| 233 ListOfArrays* commDependenciesList; | 239 ListOfArrays* commDependenciesList; |
| 234 ListOfArrays* dataDependenciesList; | 240 ListOfArrays* dataDependenciesList; |
| 242 #endif | 248 #endif |
| 243 | 249 |
| 244 #ifdef HOLISTIC__TURN_ON_PERF_COUNTERS | 250 #ifdef HOLISTIC__TURN_ON_PERF_COUNTERS |
| 245 ListOfArrays* counterList[NUM_CORES]; | 251 ListOfArrays* counterList[NUM_CORES]; |
| 246 #endif | 252 #endif |
| 253 #ifdef IDLE_SLAVES | |
| 247 SlaveVP* idleSlv[NUM_CORES][NUM_ANIM_SLOTS]; | 254 SlaveVP* idleSlv[NUM_CORES][NUM_ANIM_SLOTS]; |
| 255 #endif | |
| 248 int shutdownInitiated; | 256 int shutdownInitiated; |
| 249 } | 257 } |
| 250 VSsSemEnv; | 258 VSsSemEnv; |
| 251 | 259 |
| 252 | 260 |
