comparison VSs.h @ 41:37bb39da5ff1

static3d working, still trouble with child tasks
author Nina Engelhardt <nengel@mailbox.tu-berlin.de>
date Wed, 05 Jun 2013 14:40:40 +0200
parents 0715109abb08
children 8733d1299c3a
comparison
equal deleted inserted replaced
31:d0213ae02d42 32:dfdecdf74777
12 #include "Queue_impl/PrivateQueue.h" 12 #include "Queue_impl/PrivateQueue.h"
13 #include "Hash_impl/PrivateHash.h" 13 #include "Hash_impl/PrivateHash.h"
14 #include "VMS_impl/VMS.h" 14 #include "VMS_impl/VMS.h"
15 #include "Measurement/dependency.h" 15 #include "Measurement/dependency.h"
16 16
17 void free_pointer_entry(void* ptrEntry); 17 extern void free_pointer_entry(void* ptrEntry);
18 /* Switch for Nexus support 18 /* Switch for Nexus support
19 * Note: nexus incompatible with holistic recording (constraints not accessible) 19 * Note: nexus incompatible with holistic recording (constraints not accessible)
20 * But counter recording still functional, can build constraintless display 20 * But counter recording still functional, can build constraintless display
21 * with wallclock time 21 * with wallclock time
22 */ 22 */
24 //#define SIMULATE_EXTERNAL_SCHEDULER 24 //#define SIMULATE_EXTERNAL_SCHEDULER
25 25
26 //=========================================================================== 26 //===========================================================================
27 #define NUM_STRUCS_IN_SEM_ENV 1000 27 #define NUM_STRUCS_IN_SEM_ENV 1000
28 28
29 #define MAX_TASKS_NUM 256 29 #define MAX_TASKS_NUM 5
30 30
31 //This is hardware dependent -- it's the number of cycles of scheduling 31 //This is hardware dependent -- it's the number of cycles of scheduling
32 // overhead -- if a work unit is fewer than this, it is better being 32 // overhead -- if a work unit is fewer than this, it is better being
33 // combined sequentially with other work 33 // combined sequentially with other work
34 //This value depends on both VMS overhead and VSs's plugin. At some point 34 //This value depends on both VMS overhead and VSs's plugin. At some point